<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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 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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
        {font-family:Verdana;
        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:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
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";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle22
        {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 bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Beat me to it… here’s an alternative.<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'>If you set your global parameter to symbolic you can use this at the daylight dropdown:<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'>#SI(#PA("</span><span style='color:red'>GLOBAL PARAMETER NAME</span><span style='color:#1F497D'>"),"SPACE","DAYLIGHTING")<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'>Your parameter becomes “YES” or “NO”.<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'>-Dana<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#595959'>Dana Etherington, LEED AP BD+C </span></b><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#595959'>| <b>CRB </b>| One Kendall Square Ste B2202 | Cambridge, MA 02139</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#595959'>Main:</span></b><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#595959'> 617-475-3050 <b>| Direct:</b> 617-475-3061 | <b>Mobile:</b> 617-583-3009 | <b>Fax:</b> 617-475-3052 | <b>Ext: 6061</b><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#595959;layout-grid-mode:line'>Email:</span></b><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#595959;layout-grid-mode:line'> </span><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#595959'><a href="mailto:dana.etherington@crbusa.com"><span style='color:#595959'>dana.etherington@crbusa.com</span></a> | <a href="http://www.crbusa.com/"><span style='color:#595959'>www.crbusa.com</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#595959'>________________________________________________________________________________________<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#595959'><o:p> </o:p></span></p><p class=MsoNormal><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#595959'>This document may contain confidential information and is intended for use by the addressee only. If you are not <o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#595959'>the intended recipient, please do not transmit, copy, disclose, or utilize this communication in any manner. If you <o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#595959'>received this message in error, please notify the sender immediately and delete this message.<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#595959'><o:p> </o:p></span></i></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:Webdings;color:green'>ü</span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:green'> Please consider the environment before printing this email.<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'><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";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> equest-users-bounces@lists.onebuilding.org [mailto:equest-users-bounces@lists.onebuilding.org] <b>On Behalf Of </b>Kevin Madison<br><b>Sent:</b> Thursday, June 28, 2012 4:10 PM<br><b>To:</b> equest-users@lists.onebuilding.org<br><b>Subject:</b> Re: [Equest-users] setting daylight via global parameter<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>...<br>then #si("YES","SPACE","DAYLIGHTING")<br>else #si("NO","SPACE","DAYLIGHTING")<br>endif<br><br>... anytime you are trying to set a keyword with a symbolic data type, you must use the SymbolIndex() or #si() function. Symbolic keywords are those that take text inputs, either as a user defined command such as a schedule (e.g. SPACE:LIGHTING-SCHEDUL) or a BDL pre-defined symbol (e.g. SPACE:DAYLIGHTING or SYSTEM:OA-CONTROL)<br><br>You also have to make sure you are using the proper DOE-2 symbol value, not the eQUEST detailed interface value. To identify the correct DOE-2 symbol value you can usually right click and look at the DOE-2 item help for that keyword and it will show you the valid inputs. Or, look at the .inp file and see what actually shows up for the input to a particular symbolic keyword.<br><br>Have fun.<br><br>- Kevin <o:p></o:p></p><pre>Kevin Madison PE<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>**PLEASE NOTE OUR NEW ADDRESS**<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Madison Engineering PS<o:p></o:p></pre><pre>810 3rd Ave Suite 205<o:p></o:p></pre><pre>Seattle WA 98104<o:p></o:p></pre><pre>206-834-0002<o:p></o:p></pre><pre><a href="http://www.madisonengineeringps.com">www.madisonengineeringps.com</a><o:p></o:p></pre><p class=MsoNormal>On 6/28/2012 12:52 PM, Dahlstrom, Aaron wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><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.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'> </span><o:p></o:p></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)</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'>if (#PA("InclDaylight")==1)</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'>   then ("Yes")</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'>   else ("No")</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'>endif</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'> </span><o:p></o:p></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 </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'> </span><o:p></o:p></p><p class=MsoNormal><img border=0 width=248 height=129 id="Picture_x0020_1" src="cid:image001.jpg@01CD5548.D6266860"><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'>Any advice?</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'> </span><o:p></o:p></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>In Posse</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'> </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. <br><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>Equest-users mailing list<o:p></o:p></pre><pre><a href="http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org</a><o:p></o:p></pre><pre>To unsubscribe from this mailing list send  a blank message to <a href="mailto:EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG">EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG</a><o:p></o:p></pre></blockquote><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p></div></body></html>