<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-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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<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="0" 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 width="56" height="38" id="Picture_x0020_4" src="cid:image007.jpg@01D35C6E.641F09B0"> 
<img width="46" height="39" id="Picture_x0020_2" src="cid:image008.jpg@01D35C6E.641F09B0"><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></i></b><b><i><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="http://www.pathfinder-ea.com/"><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:image009.png@01D35C6E.641F09B0" 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 [mailto:equest-users-bounces@lists.onebuilding.org]
<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> equest-users@onebuilding.org<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>