<div dir="ltr">Bonus points if anyone has ever used the bitwise operators.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 12, 2020 at 1:14 PM Nicholas Caton via Equest-users <<a href="mailto:equest-users@lists.onebuilding.org">equest-users@lists.onebuilding.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_2264942588036037815WordSection1">
<p class="MsoNormal">A brief eQuest expression BDL Boolean Operator reference, which others may find handy:<u></u><u></u></p>
<p class="MsoNormal"><img width="511" height="511" style="width: 5.3229in; height: 5.3229in;" id="gmail-m_2264942588036037815Picture_x0020_3" src="cid:1703ac02e3f5b16b21"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(58,122,70)"><img width="624" height="8" style="width: 6.5in; height: 0.0833in;" id="gmail-m_2264942588036037815_x0000_i1028" src="cid:1703ac02e3f772f6c2"><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-family:Arial,sans-serif;color:rgb(58,122,70)">Nick Caton, P.E., BEMP</span></b><span style="color:rgb(58,122,70)"><u></u><u></u></span></p>
<table border="0" cellspacing="0" cellpadding="0" width="724" style="width:543pt;border-collapse:collapse">
<tbody>
<tr>
<td width="230" valign="top" style="width:172.3pt;padding:0in">
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(98,100,105)"> Senior Energy Engineer<u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:4.5pt"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(98,100,105)"> Energy and Sustainability Services</span><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><br>
</span><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(98,100,105)"> Energy Performance Contracting
</span><span style="font-size:9pt;color:rgb(31,73,125)"><u></u><u></u></span></p>
</td>
<td width="16" valign="top" style="width:11.8pt;padding:0in">
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(87,176,105)">D </span><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><br>
</span><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(87,176,105)">M </span><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><br>
</span><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(87,176,105)">E </span><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><br>
</span><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(87,176,105)"> </span><span style="font-size:9pt;color:rgb(31,73,125)">
<u></u><u></u></span></p>
</td>
<td width="275" valign="top" style="width:206.5pt;padding:0in">
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(98,100,105)">913 . 564 . 6361<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(98,100,105)">785 . 410 . 3317<u></u><u></u></span></p>
<p class="MsoNormal"><u><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(98,100,105)"><a href="mailto:nicholas.caton@se.com" target="_blank"><span style="font-family:Calibri,sans-serif;color:rgb(98,100,105)">nicholas.caton@se.com</span></a></span></u><span style="font-size:9pt;color:rgb(31,73,125)"><u></u><u></u></span></p>
</td>
<td width="203" valign="top" style="width:152.4pt;padding:0in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(98,100,105)">15200 Santa Fe Trail Drive<br>
Suite 204<br>
Lenexa, KS 66219<br>
<br>
</span><span style="font-size:9pt;color:rgb(31,73,125)"><u></u><u></u></span></p>
</td>
</tr>
<tr style="height:4pt">
<td width="724" colspan="4" valign="top" style="width:543pt;padding:0in;height:4pt">
<p class="MsoNormal"><span style="color:rgb(58,122,70)"><img border="0" width="722" height="49" style="width: 7.5208in; height: 0.5104in;" id="gmail-m_2264942588036037815Picture_x0020_2" src="cid:1703ac02e3f9374b63"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> Equest-users <<a href="mailto:equest-users-bounces@lists.onebuilding.org" target="_blank">equest-users-bounces@lists.onebuilding.org</a>>
<b>On Behalf Of </b>Bishop, Bill via Equest-users<br>
<b>Sent:</b> Tuesday, February 11, 2020 11:12 AM<br>
<b>To:</b> <a href="mailto:equest-users@lists.onebuilding.org" target="_blank">equest-users@lists.onebuilding.org</a><br>
<b>Subject:</b> [Equest-users] Fun with keyword expressions<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p><span style="color:red">[External email: Use caution with links and attachments]</span><u></u><u></u></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p> <u></u><u></u></p>
<div>
<p class="MsoNormal">Let’s have some fun! Share your creative keyword expressions with the group!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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 :<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:0.5in">if(#SV(#P3S())>2) then 5.33<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:0.5in"> else 10.50 endif<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:0.5in">-2*#L("FRAME-WIDTH")<u></u><u></u></p>
<p class="MsoNormal">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.)<u></u><u></u></p>
<p class="MsoNormal">Note that you can use operators outside of If-then and switch statements. In this case, since WINDOW:HEIGHT is the height of the
<i>glazed</i> part of the window, the expression subtracts twice the frame width after evaluating the if-then statement.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Your turn…<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">~Bill<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Franklin Gothic Medium",sans-serif;color:black">William Bishop, PE, BEMP, BEAP, CEM, LEED AP<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:9pt;font-family:Arial,sans-serif;color:black">Senior Energy Engineer<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:3pt;font-family:Arial,sans-serif;color:black"><u></u> <u></u></span></b></p>
<p class="MsoNormal"><u></u><img width="91" height="59" style="width: 0.9479in; height: 0.6145in;" src="cid:1703ac02e3faf8d704" align="left" hspace="12" alt="Pathfinder-EA-logo-2"><u></u><b><i><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(0,32,96)">T:
(585) 698-1956</span><span style="color:rgb(0,32,96)"> </span></i></b><span style="color:rgb(31,73,125)"> </span><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(31,73,125)">F: (585) 325-6005<u></u><u></u></span></p>
<p class="MsoNormal"><a href="mailto:wbishop@pathfinder-ea.com" target="_blank"><span style="font-size:9pt;font-family:Arial,sans-serif;color:blue">bbishop@pathfinder-ea.com</span></a><span style="font-size:9pt;font-family:Arial,sans-serif;color:black"> </span><a href="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" target="_blank"><span style="font-size:9pt;font-family:Arial,sans-serif;color:blue">www.pathfinder-ea.com</span></a><span style="color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(31,73,125)">134 South Fitzhugh Street<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(31,73,125)">Rochester, NY 14608
<img border="0" width="26" height="23" style="width: 0.2708in; height: 0.2395in;" id="gmail-m_2264942588036037815Picture_x0020_1" src="cid:1703ac02e3fbdbb395">
</span><i><span style="font-size:7pt;font-family:Verdana,sans-serif;color:rgb(0,176,240)">Ask me why Carbon Fee & Dividend may be right for you.</span></i><span style="color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><br>
______________________________________________________________________<br>
This email has been scanned by the Symantec Email Security.cloud service.<br>
______________________________________________________________________<u></u><u></u></p>
</div>
</div>
</div>
_______________________________________________<br>
Equest-users mailing list<br>
<a href="http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org" rel="noreferrer" target="_blank">http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org</a><br>
To unsubscribe from this mailing list send a blank message to <a href="mailto:EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG" target="_blank">EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG</a><br>
</blockquote></div>