I missed you guys and I feel like sharing

7 posts / 0 new
Last post

I've been too clueless to notice that I haven't gotten eQUEST-users messages since May. I blocked Rodrigo's vacation messages which we all got 500 of and everything else was blocked too...

So here's a random Tip-of-the-Day!
Create custom User-Defined Default Expressions that set system and/or zone defaults based on the occurrence number of the system.
Example:
Your project uses 12 systems - five PVAV systems, five PSZ systems, one HVSYS and one UVT, and the order you created them is PVAV-1, PVAV-2,...,PVAV-5, PSZ-1,...,PSZ-5, HVSYS, UVT
The corresponding occurrence numbers for these systems is 1,2,3,4,5,6,7,8,9,10,11,12.
Using the BDL function SymValue combined with LocalSym or ParentSym, you can create expressions such as this one, which assigns different zone cooling thermostat schedules based on the system the zone is assigned to:
COOL-TEMP-SCH =
{if (#SV(#PS())==1 .OR. #SV(#PS())==7) then
#SI("72F Cool Sch", "ZONE", "COOL-TEMP-SCH")
else if (#SV(#PS())>10) then unused
else #SI("74F Cool Sch", "ZONE", "COOL-TEMP-SCH")
endif
endif}

You could make the same assignments with a SWITCH statement:
COOL-TEMP-SCH =
{switch #SV(#PS())
case 1 : #SI("72F Cool Sch", "ZONE", "COOL-TEMP-SCH")
case 7 : #SI("72F Cool Sch", "ZONE", "COOL-TEMP-SCH")
case 11 : unused
case 12 : unused
default : #SI("74F Cool Sch", "ZONE", "COOL-TEMP-SCH")
endswitch}

You would use the BDL function LocalSym to assign SYSTEM keywords by system occurrence number. Since each system TYPE has its own keyword defaults, you would need to customize the expression for each system type, or copy the same expression into each of the system types you want to apply it to.
COOLING-EIR =
{switch #SV(#LS())
case 1 : 0.2945 $ PVAV-1
case 2 : 0.3051 $ PVAV-2
case 3 : 0.2945 $ PVAV-3
case 4 : 0.2945 $ PVAV-4
case 5 : 0.3051 $ PVAV-5
case 7 : 0.3283 $ PSZ-2
default : 0.2267 $ All other systems for which this expression is used
endswitch}

Regards,
~Bill

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

[cid:image002.jpg at 01D316A5.584E7CB0] [cid:image004.jpg at 01D316A5.584E7CB0]

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