Expressions that set zone keywords based on whether or not it is the control zone

1 post / 0 new

In trying to think of keywords that use NAMEs as their argument, I came up with the following expression for ZONE:COOL-TEMP-SCH, which modifies the default expression by assigning a cooling thermostat schedule only to the control zone of a system, and not to any of the others (which eliminates unmet cooling hours being reported in "coasting" zones):

switch (#SV(#P("TYPE")))
case 6 : no_def
case 7 : unused
case 8 : unused
case 16 : unused
default : if(#LS()==#P("CONTROL-ZONE"))
then #SI("S1 Sys1 (PSZ) Cool Sch","ZONE","COOL-TEMP-SCH")
else no_def endif
endswitch

~Bill

William Bishop, PE, BEMP, BEAP, CEM, LEED AP | Pathfinder Engineers & Architects LLP
Senior Energy Engineer

[cid:image001.jpg at 01D31763.30F04450] [cid:image002.jpg at 01D31763.30F04450]

134 South Fitzhugh Street Rochester, NY 14608

T: (585) 698-1956 F: (585) 325-6005

bbishop at pathfinder-ea.com www.pathfinder-ea.com

[http://png-5.findicons.com/files/icons/977/rrze/720/globe.png]Carbon Fee and Dividend - simple, effective, and market-based.

via Equest-users's picture
Joined: 2016-07-15
Reputation: 400