<div dir="ltr"><div>Hello,</div><div>I am trying to set up a user expression for the type of DHW heater in a project. When I use the symbolic index control shown below and add it directly into the equest interface, the model runs fine and the graphical interface shows the correct heater type.</div><div><br></div><div>However, when I save the model, the INP file does not get written with the #SI notation and when I reload the model, it crashes while loading the BDL right when it gets to the DW-heater. Does anyone know how to get around this?</div><div><br></div><div>Snippet:</div><div>TYPE = <br></div><div>{IF(#PA("DHW_Type")==1) THEN<br>#SI("GAS","DW-HEATER","TYPE")<br>ELSE IF (#PA("DHW_Type")==2) THEN<br>#SI("ELEC","DW-HEATER","TYPE")<br>ELSE IF(#PA("DHW_Type")==3) THEN<br>#SI("HEAT-PUMP","DW-HEATER","TYPE")<br>ELSE<br>#SI("GAS","DW-HEATER","TYPE")<br>ENDIF<br>ENDIF<br>ENDIF}</div><div><br></div><div>DHW_Type is a global parameter of type numeric.</div><div><br></div><div>I also tried putting this code into the default for the DW-heater with a user expression and this also crashes when trying to load the BDL.</div><div><br></div><div>Thank you in advance.</div><div><br></div><div>Sam<br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><div><br><span style="font-family:tahoma,sans-serif"><b><span><span style="font-family:tahoma,sans-serif"><br></span></span>Sam Mason</b> P.E., LEED AP BD+C, BEMP</span><br><span style="font-family:tahoma,sans-serif"><span style="font-family:tahoma,sans-serif"><b><span><span style="font-family:tahoma,sans-serif"> </span></span></b></span></span></div><div><span style="font-family:tahoma,sans-serif">Principal<br></span></div><div><span style="font-family:tahoma,sans-serif"><span style="font-family:tahoma,sans-serif"><span style="font-family:tahoma,sans-serif"><b><span><span style="font-family:tahoma,sans-serif">Encompass Energy, LLC</span></span></b></span></span></span></div><div><span style="font-family:tahoma,sans-serif">P: 443-410-1534<br></span></div><span style="font-family:tahoma,sans-serif">E:</span><span style="font-family:tahoma,sans-serif"> sam.mason@encompassenergyLLC.com</span><br></div><div>W: <a href="http://www.encompassenergyLLC.com" target="_blank">www.encompassenergyLLC.com</a><br></div><span><br></span><span lang="en-US"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="1" face="Arial,sans-serif" color="#948983"><span style="font-size:8pt">This
 e-mail and all contents are CONFIDENTIAL and intended only for the 
recipient(s) to whom it is addressed. Any use of the information by anyone other than the intended recipient is prohibited </span></font><font size="1" face="Arial,sans-serif" color="#948983"><span style="font-size:8pt"><br>

</span></font></span></font></span><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>