[Bldg-sim] User Input Expression

Jeremy McClanathan jmcclanathan at CDiengineers.com
Wed Jun 18 10:15:16 PDT 2008


Thank you!  It works great now.

I have another question if you have minute to reply.  Can I reference a
parameter that is not a global, parent, or local parameter in my
expression?  For example, can I include the height of the plenum wall in
the wall area calculation?

Something like:

((PARENT( "HEIGHT" )+( EL1 East Wall (G.7.E13)("HEIGHT"))) *
PARENT( "WIDTH" ) *
PARAMETER("East Wall Percent Glass")) /
LOCAL( "HEIGHT" )

-----Original Message-----
From: Kevin Madison [mailto:kevinjm5000 at yahoo.com] 
Sent: Tuesday, June 17, 2008 4:18 PM
To: Jeremy McClanathan
Subject: Re: [Bldg-sim] User Input Expression

There can only be one parent so there is no need to include 
EXTERIOR-WALL in the PARENT() argument. You also need quotes around all 
arguments. Try this:
(PARENT( "HEIGHT" ) *
PARENT( "WIDTH" ) *
PARAMETER("East Wall Percent Glass")) /
LOCAL( "HEIGHT" )

Regards

- Kevin

Kevin Madison PE
Madison Engineering PS
Seattle WA


Jeremy McClanathan wrote:
>
> 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
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> Bldg-sim mailing list
> http://lists.onebuilding.org/listinfo.cgi/bldg-sim-onebuilding.org
> To unsubscribe from this mailing list send  a blank message to
BLDG-SIM-UNSUBSCRIBE at ONEBUILDING.ORG
>   



More information about the Bldg-sim mailing list