[Equest-users] User Expression for DHW heater type
samuel mason
sam.mason at encompassenergyllc.com
Tue Oct 20 19:53:11 PDT 2020
Hello,
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.
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?
Snippet:
TYPE =
{IF(#PA("DHW_Type")==1) THEN
#SI("GAS","DW-HEATER","TYPE")
ELSE IF (#PA("DHW_Type")==2) THEN
#SI("ELEC","DW-HEATER","TYPE")
ELSE IF(#PA("DHW_Type")==3) THEN
#SI("HEAT-PUMP","DW-HEATER","TYPE")
ELSE
#SI("GAS","DW-HEATER","TYPE")
ENDIF
ENDIF
ENDIF}
DHW_Type is a global parameter of type numeric.
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.
Thank you in advance.
Sam
*Sam Mason* P.E., LEED AP BD+C, BEMP
Principal
*Encompass Energy, LLC*
P: 443-410-1534
E: sam.mason at encompassenergyLLC.com
W: www.encompassenergyLLC.com
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20201020/f7a3e200/attachment.html>
More information about the Equest-users
mailing list