<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=us-ascii">
<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:"Adobe Garamond";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><a name="_MailEndCompose"><span style="color:#1F497D">I have used the BDL code below to reference the SPACE input indicated to control a ZONE input for Exhaust Air. You could code the ‘Activity Description’ for the AHU served by it. Just
 a thought.<o:p></o:p></span></a></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">switch(#LR("SPACE","C-ACTIVITY-DESC"))<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">CASE "Rest": (#LR("SPACE","AREA"))/4<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">CASE "Break": (#LR("SPACE","AREA"))/2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">CASE "REle": (#LR("SPACE","AREA"))<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">CASE "Elec": (#LR("SPACE","AREA"))/2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">CASE "Jani": (#LR("SPACE","AREA"))/2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">CASE "Mech": (#LR("SPACE","AREA"))/2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">default: no_def<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">endswitch<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#1F497D"><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><!--MAKE-SURE-TO-SET-THE-TD-WIDTH--><td width="80" style="padding-right: 13px;" valign="top"><a href="http://www.archnexus.com"><img src="http://www.stationerycentral.com/SignatureImages10/ArchNexus-logo-80x99.png" nosend="1" border="0" width="80" height="99" alt='ARCH | NEXUS'></a></td><td width="1" valign="top" style="border-left: 1px #009AD9 solid;">   </td><td style="padding-left: 9px;"><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td align="left" colspan="2"><span style="color: #52616E; font-family: 'Verdana', sans-serif; font-size: 11pt; font-weight: normal">DAVID W. GRIFFIN II</span></td></tr><tr><td style="padding-top: 6px;" align="left" colspan="2"><span style="color: #52616E; font-family: 'Verdana', sans-serif; font-size: 7.5pt;">BEMP</span><span style="color: #52616E; font-family: 'Verdana', sans-serif; font-size: 7.5pt;"><br>ENERGY ANALYST</span></td></tr><tr><td align="left" style="padding-top: 6px; padding-bottom: 6px;" colspan="2"><span style="color: #52616E; font-family: 'Verdana', sans-serif; font-size: 7.5pt;"> 2505 E Parleys Way<br>Salt Lake City, UT 84109 </span></td></tr><tr><td align="left" width="100%" style="padding-left: 3px; white-space: nowrap;"><span style="color: #52616E; font-family: 'Verdana', sans-serif; font-size: 7.5pt;"><b>Office</b> 801.924.5028 </span></td></tr><span style="color: #52616E; font-family: 'Verdana', sans-serif; font-size: 7.5pt;"></span><tr><td align="left" style="padding-top: 6px; padding-bottom: 0px; white-space: nowrap;" colspan="2"><span style="color: #52616E; font-size: 7.5pt; font-weight: normal; font-family: 'Verdana', sans-serif;"><a style="text-decoration: none; color: #52616E" href="http://www.archnexus.com"><font color="#52616E">archnexus.com</font></a></span></td></tr><tr><td align="left" style="padding-top: 6px; padding-bottom: 0px; white-space: nowrap;" colspan="2"><a href="https://twitter.com/arch_nexus"><img src="http://www.stationerycentral.com/SignatureImages10/ArchNexus-tw-sharp-L-29x22.png" nosend="1" border="0" width="29" height="22" alt="Twitter"></a><a href="https://www.facebook.com/pages/Architectural-Nexus/179588705397563?ref=ts&fref=ts"><img src="http://www.stationerycentral.com/SignatureImages10/ArchNexus-fb-sharp-L-29x22.png" nosend="1" border="0" width="29" height="22" alt="Facebook"></a><a href="https://www.youtube.com/channel/UCYRPWKF-yp-AUiI8ia2XfKw?feature=mhee"><img src="http://www.stationerycentral.com/SignatureImages10/ArchNexus-yt-sharp-L-29x22.png" nosend="1" border="0" width="29" height="22" alt="Youtube"></a><a href="https://www.linkedin.com/company/architectural-nexus"><img src="http://www.stationerycentral.com/SignatureImages10/ArchNexus-li-sharp-L-29x22.png" nosend="1" border="0" width="29" height="22" alt="LinkedIn"></a></td></tr></table></td></tr></table><style> a {color: #009AD9;} </style></span><span style="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>From:</b> Jennings, Coles [mailto:Coles.Jennings@MasonandHanger.com]
<br>
<b>Sent:</b> Monday, November 13, 2017 9:03 AM<br>
<b>To:</b> Bishop, Bill; equest-users@onebuilding.org<br>
<b>Subject:</b> Re: [Equest-users] Advanced Scripting/Custom Default Question - Change Space Property based on System?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks Bill, that makes sense. Unfortunately there is no clean relationship between floors and systems, but I think adding a system number prefix to the space description as you suggest will still provide some
 time savings. Very much appreciate your feedback.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"><br>
<br>
</span><b><span style="font-family:"Arial",sans-serif;color:black">Coles Jennings</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"> PE, BEMP, LEED AP BD+C
<br>
Sr. Energy Engineer, Building Sciences Manager </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#BA0C2F">|
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">Mason & Hanger
<br>
A Day & Zimmermann Company <br>
<b>D </b>804.521.7045 </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#BA0C2F">|
</span><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">O
</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">804.285.4171
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#BA0C2F">|
</span><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">F
</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">804.217.8520
<br>
4880 Sadler Road, Suite 300 </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#BA0C2F">|
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">Glen Allen, VA 23060
<br>
<a href="http://www.masonandhanger.com/"><span style="color:#224BF1;text-decoration:none">Mason & Hanger</span></a>
<br>
</span><b><i><span style="font-family:"Adobe Garamond";color:#BA0C2F">We do what we say.®</span></i></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">
<br>
<br>
  </span><span style="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>From:</b> Bishop, Bill [<a href="mailto:bbishop@pathfinder-ea.com">mailto:bbishop@pathfinder-ea.com</a>]
<br>
<b>Sent:</b> Monday, November 13, 2017 10:58 AM<br>
<b>To:</b> Jennings, Coles <<a href="mailto:Coles.Jennings@MasonandHanger.com">Coles.Jennings@MasonandHanger.com</a>>;
<a href="mailto:equest-users@onebuilding.org">equest-users@onebuilding.org</a><br>
<b>Subject:</b> [EXTERNAL] RE: Advanced Scripting/Custom Default Question - Change Space Property based on System?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hi Coles,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Spaces are defined in the BDL before systems and zones. Systems are neither parents nor children of spaces, so there is no way for spaces to reference them.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">You could reference the <i>floors</i> of the spaces if there is a relationship of systems to floors.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">What you <i>could</i> do is include the name of the system in the space description (C-ACTIVITY-DESC) and then reference the space description with a SWITCH statement.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">~Bill<o:p></o:p></span></p>
<p class="MsoNormal"><span style="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="526" style="width:394.8pt;border-collapse:collapse">
<tbody>
<tr style="height:13.45pt">
<td width="345" 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="182" 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 border="0" width="56" height="38" id="Picture_x0020_4" src="cid:image001.jpg@01D35C95.9BAC7710"> 
<img border="0" width="46" height="39" id="Picture_x0020_2" src="cid:image002.jpg@01D35C95.9BAC7710"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:4.55pt">
<td width="345" 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="345" 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%;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="345" 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><span style="color:#002060">             
</span></i></b><span style="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="345" 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="color:#1F497D"><a href="mailto:wbishop@pathfinder-ea.com"><span style="font-size:9.0pt;line-height:105%;font-family:"Arial",sans-serif;color:blue">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="color:#1F497D"><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.pathfinder-2Dea.com_&d=DwMFAg&c=xB5UQg5qXm2axe_t44neldV-XNditz6D2ZXZLA0vHlE&r=JrIPsTq2z-_669uhqn51VqSZFL7dpX6NqxKBTKpeQZ9m5XksAJHnQhCI_rEcbMFG&m=TPsuZzXb-d5_oj4vRDGXNr4Cblc5UDBybdEMWc2uwqQ&s=Ne5ZL4_R7KA8Un8Gr9yDAMK13olbWcBrcz3BBi-1iKw&e="><span style="font-size:9.0pt;line-height:105%;font-family:"Arial",sans-serif;color:blue">www.pathfinder-ea.com</span></a><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:24.6pt">
<td width="345" 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="color:#1F497D"><img border="0" width="34" height="32" id="Picture_x0020_5" src="cid:image003.png@01D35C95.9BAC7710" alt="http://png-5.findicons.com/files/icons/977/rrze/720/globe.png"></span><span style="font-size:7.5pt;line-height:105%;color:#00B0F0">Carbon
 Fee and Dividend - simple, effective, and market-based.</span><span style="color:#1F497D"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><span style="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>From:</b> Equest-users [<a href="mailto:equest-users-bounces@lists.onebuilding.org">mailto:equest-users-bounces@lists.onebuilding.org</a>]
<b>On Behalf Of </b>Jennings, Coles via Equest-users<br>
<b>Sent:</b> Sunday, November 12, 2017 8:28 PM<br>
<b>To:</b> <a href="mailto:equest-users@onebuilding.org">equest-users@onebuilding.org</a><br>
<b>Subject:</b> [Equest-users] Advanced Scripting/Custom Default Question - Change Space Property based on System?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m modeling a hospital building with some areas that are 24/7 and others that are on a typical 8-5 M-F schedule. There are numerous AHUs and each AHU operates on one of these two schedules. What I’d like to do is write a default script
 that sets the <b><i>space</i></b> interior load schedules (lighting, occupancy, equipment) based on which AHU that space’s thermal zone is assigned to.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I often use the trick of assigning a unique min. humidity ratio for each system in a model and then writing a switch() script to change
<b><i>zone</i></b> properties, but I am having trouble figuring out the syntax to use this trick to change space properties. There’s something in the BDL hierarchy that I’m not getting.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Has anyone had success with this before?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"><br>
<br>
</span><b><span style="font-family:"Arial",sans-serif;color:black">Coles Jennings</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"> PE, BEMP, LEED AP BD+C
<br>
Sr. Energy Engineer, Building Sciences Manager </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#BA0C2F">|
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">Mason & Hanger
<br>
A Day & Zimmermann Company <br>
<b>D </b>804.521.7045 </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#BA0C2F">|
</span><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">O
</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">804.285.4171
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#BA0C2F">|
</span><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">F
</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">804.217.8520
<br>
4880 Sadler Road, Suite 300 </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#BA0C2F">|
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">Glen Allen, VA 23060
<br>
<a href="http://www.masonandhanger.com/"><span style="color:#224BF1;text-decoration:none">Mason & Hanger</span></a>
<br>
</span><b><i><span style="font-family:"Adobe Garamond";color:#BA0C2F">We do what we say.®</span></i></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">
<br>
<br>
  </span><o:p></o:p></p>
</div>
</body>
</html>