[Equest-users] Fun with keyword expressions

Bishop, Bill bbishop at pathfinder-ea.com
Tue Feb 11 09:11:40 PST 2020


Let's have some fun! Share your creative keyword expressions with the group!

One of the features of eQUEST that I most enjoy is the ability to write custom keyword expressions. For example, here's an expression for WINDOW:HEIGHT :
if(#SV(#P3S())>2) then 5.33
  else 10.50 endif
-2*#L("FRAME-WIDTH")
The expression assigns different heights depending on which floor the window is on. (#P3S is the great-grandparent of the window. FLOOR-> SPACE-> WALL-> WINDOW.)
Note that you can use operators outside of If-then and switch statements. In this case, since WINDOW:HEIGHT is the height of the glazed part of the window, the expression subtracts twice the frame width after evaluating the if-then statement.

Your turn...

~Bill

William Bishop, PE, BEMP, BEAP, CEM, LEED AP
Senior Energy Engineer

[Pathfinder-EA-logo-2]T: (585) 698-1956                        F: (585) 325-6005
bbishop at pathfinder-ea.com<mailto:wbishop at pathfinder-ea.com>        www.pathfinder-ea.com<http://www.pathfinder-ea.com/>
134 South Fitzhugh Street
Rochester, NY 14608               [cid:image005.png at 01D5E0C8.899063C0]         Ask me why Carbon Fee & Dividend may be right for you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20200211/ae8802e0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 9336 bytes
Desc: image001.jpg
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20200211/ae8802e0/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 1554 bytes
Desc: image005.png
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20200211/ae8802e0/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 1903 bytes
Desc: image003.jpg
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20200211/ae8802e0/attachment-0001.jpg>


More information about the Equest-users mailing list