[Equest-users] setting daylight via global parameter

Keith Swartz kswartz at ecw.org
Fri Jun 29 11:56:27 PDT 2012


Aaron,

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)."

[cid:image003.jpg at 01CD55FE.FA256020]


The basic format is SymIndex(parameter("Parameter Name"),"A","B")
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..."

[cid:image007.jpg at 01CD55FE.FA256020]

The command and keyword are given at the top.

[cid:image008.jpg at 01CD55FE.FA256020]

Keith Swartz, PE, LEED AP
Senior Energy Engineer | Energy Center of Wisconsin | Madison.Chicago.Minneapolis
608.210.7123 | www.ecw.org<http://www.ecw.org/>

From: Dahlstrom, Aaron [mailto:ADahlstrom at in-posse.com]
Sent: Thursday, June 28, 2012 2:53 PM
To: equest-users at lists.onebuilding.org<mailto:equest-users at lists.onebuilding.org>
Subject: [Equest-users] setting daylight via global parameter

I am attempting to turn on/off daylighting control in a large model via a user expression, referencing a global parameter.

I have read the "Topics" entry on syntax for expressions, but I'm still stuck. Here's my entry (in the "DAYLIGHTING" field)

if (#PA("InclDaylight")==1)
   then ("Yes")
   else ("No")
endif

I have tried a number of formulations; the error message I get each time is

[cid:image001.jpg at 01CD55FD.A69BAF00]

Any advice?

Aaron Dahlstrom , PE, LEED(r) AP
In Posse - A subsidiary of AKF| 1500 Walnut Street, Suite 1414, Philadelphia, PA 19102
d: 215-282-6753| m: | In Posse: 215-282-6800| AKF: 215-735-7290
e: ADahlstrom at in-posse.com<mailto:ADahlstrom at in-posse.com> | in posse web: www.in-posse.com<http://www.in-posse.com/> | akf web: www.akfgroup.com<http://www.akfgroup.com/>




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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20120629/d7543fd6/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 6168 bytes
Desc: image001.jpg
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20120629/d7543fd6/attachment-0008.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 31146 bytes
Desc: image003.jpg
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20120629/d7543fd6/attachment-0009.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.jpg
Type: image/jpeg
Size: 42701 bytes
Desc: image007.jpg
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20120629/d7543fd6/attachment-0010.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 24903 bytes
Desc: image008.jpg
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20120629/d7543fd6/attachment-0011.jpg>


More information about the Equest-users mailing list