[Equest-users] setting daylight via global parameter

Kevin Madison kevinm at madisonengineeringps.com
Thu Jun 28 13:10:14 PDT 2012


...
then #si("YES","SPACE","DAYLIGHTING")
else #si("NO","SPACE","DAYLIGHTING")
endif

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

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.

Have fun.

- Kevin

Kevin Madison PE

**PLEASE NOTE OUR NEW ADDRESS**

Madison Engineering PS
810 3rd Ave Suite 205
Seattle WA 98104
206-834-0002
www.madisonengineeringps.com

On 6/28/2012 12:52 PM, Dahlstrom, Aaron wrote:
>
> 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
>
> Any advice?
>
> *Aaron Dahlstrom , PE, LEED® AP*
>
> *In P**o**sse*-- 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 | 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.
>
>
> _______________________________________________
> Equest-users mailing list
> http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org
> To unsubscribe from this mailing list send  a blank message to EQUEST-USERS-UNSUBSCRIBE at ONEBUILDING.ORG


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20120628/5c4f34e7/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 6168 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20120628/5c4f34e7/attachment-0002.jpeg>


More information about the Equest-users mailing list