[Bldg-sim] User Input Expression

Jeremy McClanathan jmcclanathan at CDiengineers.com
Tue Jun 17 16:08:07 PDT 2008


Hello,

 

It would be greatly appreciated if someone would provide some advice on
how to create a user input expression.  In order to easily manipulate
the percent glass of a building in the detailed interface, I would like
to create an expression that sets window width based on a global
parameter for percent glass I created.  To accomplish this, I right
click on the width input cell and select "Edit/View User Expression...",
then enter the following code I came up with based on what I have been
reading in the DOE-2 help files.

 

(PARENT( EXTERIOR-WALL:HEIGHT ) *

 PARENT( EXTERIOR-WALL:WIDTH ) *

 PARAMETER("East Wall Percent Glass")) /

LOCAL( HEIGHT )

 

This does not work.  Below are the errors that the above expression
generate.

 

 

Expression Parsing Error: Invalid BDL Keyword Function Argument
'EXTERIOR-WALL:HEIGHT'

Expression Parsing Error: Invalid BDL Keyword Function Argument
'EXTERIOR-WALL:HEIGHT'

Expression Parsing Error: Invalid BDL Keyword Function Argument
'EXTERIOR-WALL:HEIGHT'

 

I have tried several variations of this expression with no luck.  

 

Thank you in advance for any advice you can provide.

 

Jeremy

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/bldg-sim-onebuilding.org/attachments/20080617/79b6dc1b/attachment.htm>


More information about the Bldg-sim mailing list