<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 12 (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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"AvantGarde Bk BT";}
/* 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: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:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.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="2050" />
</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:10.0pt;font-family:"Arial","sans-serif"'>Aaron,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>The global parameter does not need to be a number. It can be a symbol, like “Yes” or “No” in the case of daylighting. You need to use the SymIndex function. See Parametric Example 4 (pp. 5.15-5.21) in the Modeling Procedures Quick Reference. Click on “Help,” then “Tutorials and Reference,” then “Modeling Procedures Quick Reference (pdf).”<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><img width=604 height=248 id="Picture_x0020_2" src="cid:image003.jpg@01CD55FE.FA256020"></span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>The basic format is SymIndex(parameter(“Parameter Name”),”A”,”B”) <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>where “A” is the BDL command and “B” is the BDL keyword. These things can be found by right-clicking on the field of interest and selecting “View Default/Range…”<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><img width=822 height=481 id="Picture_x0020_5" src="cid:image007.jpg@01CD55FE.FA256020"><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>The command and keyword are given at the top.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><img width=567 height=408 id="Picture_x0020_4" src="cid:image008.jpg@01CD55FE.FA256020"><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>Keith Swartz, PE, LEED AP<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>Senior Energy Engineer | <b>Energy Center of Wisconsin</b></span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:gray'> | <b>Madison.Chicago.Minneapolis<o:p></o:p></b></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>608.210.7123 | </span><a href="http://www.ecw.org/" title="Energy Center Home Page"><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black;text-decoration:none'>www.ecw.org</span></a><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><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"'> Dahlstrom, Aaron [<a href="mailto:ADahlstrom@in-posse.com">mailto:ADahlstrom@in-posse.com</a>] <br><b>Sent:</b> Thursday, June 28, 2012 2:53 PM<br><b>To:</b> <a href="mailto:equest-users@lists.onebuilding.org">equest-users@lists.onebuilding.org</a><br><b>Subject:</b> [Equest-users] setting daylight via global parameter<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:12.0pt'>I am attempting to turn on/off daylighting control in a large model via a user expression, referencing a global parameter.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'>I have read the “Topics” entry on syntax for expressions, but I’m still stuck. Here’s my entry (in the “DAYLIGHTING” field)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'>if (#PA("InclDaylight")==1)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'>   then ("Yes")<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'>   else ("No")<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'>endif<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'>I have tried a number of formulations; the error message I get each time is <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><img border=0 width=248 height=129 id="Picture_x0020_1" src="cid:image001.jpg@01CD55FD.A69BAF00" alt="cid:image001.jpg@01CD55FD.A69BAF00"><span style='font-size:12.0pt'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'>Any advice?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal style='line-height:150%;text-autospace:none'><b><span style='font-size:9.0pt;line-height:150%;font-family:"Verdana","sans-serif";color:gray'>Aaron Dahlstrom , PE, LEED® AP</span></b><o:p></o:p></p><p class=MsoNormal style='line-height:150%;text-autospace:none'><b><span style='font-family:"AvantGarde Bk BT";color:#17365D'>In P</span></b><b><span style='font-family:"AvantGarde Bk BT";color:#619428'>o</span></b><b><span style='font-family:"AvantGarde Bk BT";color:#17365D'>sse</span></b><span style='font-size:9.0pt;line-height:150%;font-family:"Verdana","sans-serif";color:gray'> – </span><span style='font-size:8.0pt;line-height:150%;font-family:"Verdana","sans-serif";color:gray'>A subsidiary of</span><span style='font-size:9.0pt;line-height:150%;font-family:"Verdana","sans-serif";color:gray'> </span><b><span style='font-size:9.0pt;line-height:150%;font-family:"Verdana","sans-serif";color:#CC0000'>AKF</span></b><span style='font-size:9.0pt;line-height:150%;font-family:"Verdana","sans-serif";color:gray'>| 1500 Walnut Street, Suite 1414, Philadelphia, PA 19102 </span><o:p></o:p></p><p class=MsoNormal style='line-height:150%;text-autospace:none'><span style='font-size:9.0pt;line-height:150%;font-family:"Verdana","sans-serif";color:gray'>d: 215-282-6753| m: | In Posse: 215-282-6800| AKF: 215-735-7290</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:gray'>e: <a href="mailto:ADahlstrom@in-posse.com">ADahlstrom@in-posse.com</a> | in posse web: <a href="http://www.in-posse.com/">www.in-posse.com</a> | akf web: <a href="http://www.akfgroup.com/">www.akfgroup.com</a></span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:gray'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:gray'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Times New Roman","serif";color:gray'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br clear=all>This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unintended recipients are prohibited from taking action on the basis of information in this e-mail. E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, deleted or interfered without the knowledge of the sender or the intended recipient. If you are not comfortable with the risks associated with e-mail messages, you may decide not to use e-mail to communicate with In Posse. <o:p></o:p></span></p></div></body></html>