[Equest-users] setting daylight via global parameter

Dana Etherington Dana.Etherington at crbusa.com
Thu Jun 28 13:12:38 PDT 2012


Beat me to it... here's an alternative.

If you set your global parameter to symbolic you can use this at the daylight dropdown:

#SI(#PA("GLOBAL PARAMETER NAME"),"SPACE","DAYLIGHTING")

Your parameter becomes "YES" or "NO".

-Dana

Dana Etherington, LEED AP BD+C | CRB | One Kendall Square Ste B2202 | Cambridge, MA 02139
Main: 617-475-3050 | Direct: 617-475-3061 | Mobile: 617-583-3009 | Fax: 617-475-3052 | Ext: 6061
Email: dana.etherington at crbusa.com<mailto:dana.etherington at crbusa.com> | www.crbusa.com<http://www.crbusa.com/>
________________________________________________________________________________________

This document may contain confidential information and is intended for use by the addressee only. If you are not
the intended recipient, please do not transmit, copy, disclose, or utilize this communication in any manner. If you
received this message in error, please notify the sender immediately and delete this message.

ü Please consider the environment before printing this email.


From: equest-users-bounces at lists.onebuilding.org [mailto:equest-users-bounces at lists.onebuilding.org] On Behalf Of Kevin Madison
Sent: Thursday, June 28, 2012 4:10 PM
To: equest-users at lists.onebuilding.org
Subject: Re: [Equest-users] setting daylight via global parameter

...
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<http://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

[cid:image001.jpg at 01CD5548.D6266860]

Any advice?

Aaron Dahlstrom , PE, LEED® 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.



_______________________________________________

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<mailto: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/2b37b1dd/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/20120628/2b37b1dd/attachment-0002.jpg>


More information about the Equest-users mailing list