[Equest-users] Fun with keyword expressions
Aaron Powers
caaronpowers at gmail.com
Wed Feb 12 10:54:58 PST 2020
Bonus points if anyone has ever used the bitwise operators.
On Wed, Feb 12, 2020 at 1:14 PM Nicholas Caton via Equest-users <
equest-users at lists.onebuilding.org> wrote:
> A brief eQuest expression BDL Boolean Operator reference, which others may
> find handy:
>
>
>
> *Nick Caton, P.E., BEMP*
>
> Senior Energy Engineer
>
> Energy and Sustainability Services
> Energy Performance Contracting
>
> D
> M
> E
>
>
> 913 . 564 . 6361
>
> 785 . 410 . 3317
>
> *nicholas.caton at se.com <nicholas.caton at se.com>*
>
> 15200 Santa Fe Trail Drive
> Suite 204
> Lenexa, KS 66219
>
>
>
>
>
> *From:* Equest-users <equest-users-bounces at lists.onebuilding.org> *On
> Behalf Of *Bishop, Bill via Equest-users
> *Sent:* Tuesday, February 11, 2020 11:12 AM
> *To:* equest-users at lists.onebuilding.org
> *Subject:* [Equest-users] Fun with keyword expressions
>
>
>
> [External email: Use caution with links and attachments]
> ------------------------------
>
>
>
> 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*
>
>
>
> [image: Pathfinder-EA-logo-2]*T: (585) 698-1956 * F:
> (585) 325-6005
>
> bbishop at pathfinder-ea.com <wbishop at pathfinder-ea.com>
> www.pathfinder-ea.com
> <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pathfinder-ea.com%2F&data=02%7C01%7CNicholas.Caton%40se.com%7Ced7045c03ac245de5ee108d7af1549b2%7C6e51e1adc54b4b39b5980ffe9ae68fef%7C0%7C0%7C637170378280059768&sdata=QkiBq8LTe8YedgJ%2B2ClZqySai9Q9Cx1YFPyRPJUVrGI%3D&reserved=0>
>
> 134 South Fitzhugh Street
>
> Rochester, NY 14608 *Ask me why Carbon Fee &
> Dividend may be right for you.*
>
>
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> ______________________________________________________________________
> _______________________________________________
> Equest-users mailing list
> http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org
> To unsubscribe from this mailing list send a blank message to
> EQUEST-USERS-UNSUBSCRIBE at ONEBUILDING.ORG
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20200212/07c65a30/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 27467 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20200212/07c65a30/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 1794 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20200212/07c65a30/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 8477 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20200212/07c65a30/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 1881 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20200212/07c65a30/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.png
Type: image/png
Size: 1554 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20200212/07c65a30/attachment-0008.png>
More information about the Equest-users
mailing list