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">510 663 2070 x 241</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>