<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Franklin Gothic Medium";
panose-1:2 11 6 3 2 1 2 2 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma",sans-serif;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma",sans-serif;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Mike,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">You can start with the expression below. Paste only the text between the brackets if you are pasting within the interface. If pasting into the input file, this
would go after “SET-DEFAULT FOR SPACE”. Like Chris said, the case statement names should be four characters or less. However, they are not case sensitive, so upper/lower case doesn’t matter.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">~Bill<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> AREA/PERSON =
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">{if(#SV(#L("ZONE-TYPE"))==2) then no_def else<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">if(#RV(#L("PEOPLE-SCHEDULE"))!=0) then unused else<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">switch (#L("C-ACTIVITY-DESC"))<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">case "Reta": 67<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">case "Lobb": 150<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">case "Clas": 100<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">default: 500<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">endswitch<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">endif<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">endif}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Franklin Gothic Medium",sans-serif;color:black">William Bishop, PE, BEMP, BEAP, CEM, LEED AP
</span></b><b><span style="font-size:10.0pt;font-family:"Franklin Gothic Medium",sans-serif;color:#006600">|</span></b><b><span style="font-size:10.0pt;font-family:"Franklin Gothic Medium",sans-serif;color:black"> Pathfinder Engineers & Architects LLP<o:p></o:p></span></b></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="658" style="width:394.8pt;border-collapse:collapse">
<tbody>
<tr style="height:13.45pt">
<td width="431" style="width:258.45pt;padding:0in 5.4pt 0in 5.4pt;height:13.45pt">
<p class="MsoNormal" style="line-height:105%"><b><span style="font-size:9.0pt;line-height:105%;font-family:"Arial",sans-serif;color:black">Senior Energy Engineer<o:p></o:p></span></b></p>
</td>
<td width="227" rowspan="6" style="width:136.35pt;padding:0in 5.4pt 0in 5.4pt;height:13.45pt">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:9.0pt;line-height:105%;font-family:"Arial",sans-serif;color:black"><img width="56" height="38" id="Picture_x0020_4" src="cid:image001.jpg@01D29421.71957EA0">
<img width="46" height="39" id="Picture_x0020_2" src="cid:image009.jpg@01D29421.71957EA0"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:4.55pt">
<td width="431" valign="top" style="width:258.45pt;padding:0in 5.4pt 0in 5.4pt;height:4.55pt">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:5.0pt;line-height:105%;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</td>
</tr>
<tr style="height:9.8pt">
<td width="431" nowrap="" valign="bottom" style="width:258.45pt;padding:0in 5.4pt 0in 5.4pt;height:9.8pt">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:9.0pt;line-height:105%;font-family:"Arial",sans-serif;color:#1F497D">134 South Fitzhugh Street</span><span style="font-size:9.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#1F497D">
</span><span style="font-size:9.0pt;line-height:105%;font-family:"Arial",sans-serif;color:#1F497D">Rochester, NY 14608<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:12.4pt">
<td width="431" valign="top" style="width:258.45pt;padding:0in 5.4pt 0in 5.4pt;height:12.4pt">
<p class="MsoNormal" style="line-height:105%"><b><i><span style="font-size:9.0pt;line-height:105%;font-family:"Arial",sans-serif;color:#002060">T: (585) 698-1956</span></i></b><b><i><span style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#002060">
</span></i></b><span style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span style="font-size:9.0pt;line-height:105%;font-family:"Arial",sans-serif;color:#1F497D">F: (585) 325-6005</span><span style="font-size:9.0pt;line-height:105%;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:9.8pt">
<td width="431" valign="top" style="width:258.45pt;padding:0in 5.4pt 0in 5.4pt;height:9.8pt">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#1F497D"><a href="mailto:wbishop@pathfinder-ea.com"><span style="font-size:9.0pt;line-height:105%;font-family:"Arial",sans-serif">bbishop@pathfinder-ea.com</span></a></span><span style="font-size:9.0pt;line-height:105%;font-family:"Arial",sans-serif;color:black">
</span><span style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#1F497D"><a href="http://www.pathfinder-ea.com/"><span style="font-size:9.0pt;line-height:105%;font-family:"Arial",sans-serif">www.pathfinder-ea.com</span></a><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:24.6pt">
<td width="431" valign="top" style="width:258.45pt;padding:0in 5.4pt 0in 5.4pt;height:24.6pt">
<p class="MsoNormal" style="margin-top:3.0pt;line-height:105%"><span style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#1F497D"><img border="0" width="34" height="32" id="Picture_x0020_5" src="cid:image010.png@01D29421.71957EA0" alt="http://png-5.findicons.com/files/icons/977/rrze/720/globe.png"></span><span style="font-size:7.5pt;line-height:105%;font-family:"Calibri",sans-serif;color:#00B0F0">Carbon
Fee and Dividend - simple, effective, and market-based.</span><span style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Equest-users [mailto:equest-users-bounces@lists.onebuilding.org]
<b>On Behalf Of </b>Chris Jones via Equest-users<br>
<b>Sent:</b> Friday, March 03, 2017 12:52 PM<br>
<b>To:</b> Michael Campbell <mcamp1206@gmail.com><br>
<b>Cc:</b> equest-users@onebuilding.org<br>
<b>Subject:</b> Re: [Equest-users] User-Defined Default Expressions<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Note, only the first 4 characters of the C-ACTIVITY-DESC field are recognized in user defined expressions. Therefore, if your UDF uses “RETAIL” as the test, it
may fail because only “RETA” is used. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Other than that, I suggest reviewing the BDLDFT.TXT file in the eQUEST 3-65 Data folder. It is full of example default expressions.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#1F497D"><o:p> </o:p></span></b></p>
<table class="MsoNormalTable" border="0" cellspacing="20" cellpadding="0" width="750" style="width:6.25in">
<tbody>
<tr>
<td width="88" valign="top" style="width:52.5pt;padding:0in 0in 0in 0in">
<p class="MsoNormal"><a href="http://www.rwdi.com/assets/logos/RWDI-logo.gif"><span style="color:#1F497D;text-decoration:none"><img border="0" width="70" height="70" id="Picture_x0020_1" src="cid:image008.jpg@01D29420.4BE6D8D0" alt="Title: RWDI - Description: RWDI logo"></span></a><span style="color:#1F497D"><o:p></o:p></span></p>
</td>
<td width="605" valign="top" style="width:363.0pt;padding:0in 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#005EB8">Christopher Jones, </span></b><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#005EB8">P.Eng.
</span></b><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#999999">|
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#999999">Senior Energy Analyst</span><span style="font-family:"Arial",sans-serif;color:#1F497D"><br>
</span><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#999999">RWDI</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#999999"><br>
901 King Street West, Suite 400, Toronto, ON M5V 3H5 Canada<br>
Tel: (519) 823-1311 ext 2052<br>
<a href="http://www.rwdi.com/"><span style="color:#999999">rwdi.com</span></a></span><span style="color:#1F497D"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif"> Equest-users [<a href="mailto:equest-users-bounces@lists.onebuilding.org">mailto:equest-users-bounces@lists.onebuilding.org</a>]
<b>On Behalf Of </b>Michael Campbell via Equest-users<br>
<b>Sent:</b> Friday, March 03, 2017 12:32 PM<br>
<b>To:</b> equest-users<br>
<b>Subject:</b> [Equest-users] User-Defined Default Expressions<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi eQUEST Users,<o:p></o:p></p>
</div>
<p class="MsoNormal">I'm trying to create default user expressions in an effort to auto-populate certain fields in my models.<o:p></o:p></p>
</div>
<p class="MsoNormal">I want to reference the activity description (C-ACTIVITY-DESC) have it automatically fill in fields such as Area/Person.<o:p></o:p></p>
</div>
<p class="MsoNormal">So for this example, I'm trying to make all spaces that have Activity Description of "RETAIL" to be populated with a Area/Person value of 67.<o:p></o:p></p>
</div>
<p class="MsoNormal">I've tried using the "Switch" function and if-then statements but haven't been able to get it to work.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Any assistance is appreciated.<o:p></o:p></p>
</div>
<p class="MsoNormal">Thank you,<o:p></o:p></p>
</div>
<p class="MsoNormal">Mike Campbell<o:p></o:p></p>
</div>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:7.0pt">
<hr size="3" width="100%" align="center">
</span></div>
<p class="MsoNormal"><b><span style="font-size:7.0pt">RWDI - A Platinum Member of Canada's 50 Best Managed Companies</span></b><span style="font-size:7.0pt">
<br>
This communication is intended for the sole use of the party to whom it was addressed and may contain information that is privileged and/or confidential. Any other distribution, copying or disclosure is strictly prohibited. If you received this email in error,
please notify us immediately by replying to this email and delete the message without retaining any hard or electronic copies of same. Outgoing emails are scanned for viruses, but no warranty is made to their absence in this email or attachments. If you require
any information supplied by RWDI in a different format to facilitate accessibility, contact the sender of the email, email
<a href="mailto:solutions@rwdi.com">solutions@rwdi.com</a> or call +1.519.823.1311.
<o:p></o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:7.0pt">
<hr size="3" width="100%" align="center">
</span></div>
</div>
</div>
</body>
</html>