eQuest expression using a Schedule switch

2 posts / 0 new
Last post

Hi,I have done Global Parameters with a value. But never with a schedule.
Can anyone assist?
John R Aulbach, PE

John Aulbach's picture
Offline
Joined: 2011-09-30
Reputation: 1

Hi John,
I prefer to use numeric global parameters. The example below assigns a loop using a global parameter. You could follow the same example to assign any keyword based on a command that uses a U-NAME, such as a schedule. I believe all SCHEDULEs are negative TYPE commands, so you would follow the example below of #SIT(?,#L(?TYPE?)).

PARAMETER
"Use W2WHP Loop 1=yes 2=no" = 2 ..
SET-DEFAULT FOR SYSTEM
TYPE = VAVS
CHW-LOOP =
{switch(#PA("Use W2WHP Loop 1=yes 2=no"))
case 1: #SIT("W2WHP CHW Loop","SYSTEM","CHW-LOOP",#L("TYPE"))
default: #SIT("ASHRAE Secondary CHW Loop","SYSTEM","CHW-LOOP",#L("TYPE"))
endswitch}

Regards,
~Bill

William Bishop, PE, BEMP, BEAP, CEM, LEED AP | Pathfinder Engineers & Architects LLP
Senior Energy Engineer
[Logo, company nameDescription automatically generated] T: (585) 698-1956 www.pathfinder-ea.com
[IconDescription automatically generated][cid:image009.jpg at 01D97DE1.2F7A0620]bbishop at pathfinder-ea.com
134 South Fitzhugh Street
Rochester, NY 14608

Buffalo Office: 100 Corporate Parkway, Suite 116, Amherst, NY 14226

Bill Bishop's picture
Offline
Joined: 2012-02-25
Reputation: 7