<div dir="ltr">This should be helpful: <a href="http://www.esimforums.com/equest/viewtopic.php?f=70&t=139">http://www.esimforums.com/equest/viewtopic.php?f=70&t=139</a><div><br></div><div style>To be more specific, the format you need to use is: <span style="background-color:rgb(240,243,244);color:rgb(68,68,68);font-family:'Lucida Grande',Verdana,Helvetica,Arial,sans-serif;font-size:12px;line-height:16.78333282470703px">#SI(“T24 CEZ4 Metal Roof”, “EXTERIOR-WALL”,”CONSTRUCTION”)</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 28, 2012 at 6:07 PM, Michael Hsueh <span dir="ltr"><<a href="mailto:mhsueh@integralgroup.com" target="_blank">mhsueh@integralgroup.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<div><br></div><div>I am trying to include a switch statement in an expression; the goal is to define a surface's construction based on the surface's TILT. Here is the switch statement I've pulled together:</div>


<div><br></div><div><div><div>switch #L("TILT")</div><div>case 0: #SI("T24 CEZ4 Metal Roof")</div><div>case 90: #SI("T24 CEZ4 Metal Framed Ext Wall")</div><div>case 180: #SI("T24 CEZ4 Mass Floor")</div>


<div>default: #SI("T24 CEZ4 Metal Framed Ext Wall")</div><div>endswitch</div></div><div><br></div><div>When I input this as a user-defined expression for that surface's construction in eQuest, I receive a prompt indicating that I am not specifying the correct number of arguments for #SI. I am confused because the DOE2 Topics Manual states that #SI can work using only a single str input and the example provided also only uses a single str input.</div>


<div><br></div><div>In case it's helpful, here's how the U-name for one of the constructions is defined.<br></div><div><br></div><div><div>"T24 CEZ4 Metal Framed Ext Wall" = CONSTRUCTION    </div><div>   TYPE             = LAYERS</div>


<div>   LAYERS           = "T24 CEZ4 Mtl frm Ext Wall Layers"</div></div><div><br></div><div>I would really appreciate any feedback on this! </div><div><br></div><div><p></p><p style="margin-bottom:0.0001pt"><b><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:gray">Michael
Hsueh</span></b><span style="font-size:12pt;font-family:Arial,sans-serif;color:gray"> </span><br><span style="color:gray;font-family:Arial,sans-serif;font-size:8.5pt">Project Engineer</span><br><b><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(175,189,34)">________________________________</span></b><br>


<span style="color:rgb(153,153,153);font-family:Arial,sans-serif;font-size:12pt">I N T E G R A L</span><br><b><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(153,153,153)">                         </span></b><b><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:gray"> </span></b><b><span style="font-size:8pt;font-family:Arial,sans-serif;color:gray">GROUP</span></b><br>


<span style="color:gray;font-family:Arial,sans-serif;font-size:8.5pt">427 13th Street,
Oakland CA 94612</span><br><span style="color:gray;font-family:Arial,sans-serif;font-size:8.5pt"><a href="tel:510%20663%202070%20x%20241" value="+15106632070" target="_blank">510 663 2070 x 241</a></span><br><a href="mailto:mhsueh@integralgroup.com" style="font-family:Arial,sans-serif;font-size:12pt" target="_blank"><span style="font-size:8.5pt;color:blue">mhsueh@integralgroup.com</span></a><br>


<a href="http://www.integralgroup.com/" style="font-family:Arial,sans-serif;font-size:12pt" target="_blank"><span style="font-size:8.5pt;color:gray">www.integralgroup.com</span></a><br><b><span style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(175,189,34)">DEEP GREEN
Engineering.</span></b><br><b><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(175,189,34)">_______________________________</span></b></p><p></p>













<p></p></div>
</div>
<br>_______________________________________________<br>
Equest-users mailing list<br>
<a href="http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org" target="_blank">http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org</a><br>
To unsubscribe from this mailing list send  a blank message to <a href="mailto:EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG">EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG</a><br>
<br></blockquote></div><br></div>