[Bldg-sim] User Input Expression

Steve Mignogna smignogna at gmail.com
Wed Jun 18 08:42:52 PDT 2008


Jeremy--

check out Brandon Nichols's page below.  Half way down that post he
describes how to do write expressions for glazing.  You can add a
glazing % global parameter to his code and it should work.

http://elcca-exchange.blogspot.com/2006/12/equest-detailed-editor-notes.html

-- 
Steve Mignogna
Atelier Ten


On Tue, Jun 17, 2008 at 7:16 PM, Robby Oylear <robbyo at rushingco.com> wrote:
> To access a parent parameter use the command #P.  To access a local
> parameter use the command #L.  Also, global parameters are referenced by the
> #PA command.  The errors you describe are because the name of the parameter
> you are trying to reference isn't EXTERIOR-WALL:HEIGHT, it's just HEIGHT.
>
>
>
> Try this:
>
>
>
> {#P("HEIGHT")*#P("WIDTH")*#PA("East Wall Percent Glass")/#L("HEIGHT")}
>
>
>
> If that doesn't work let me know, as I just typed that up on the fly.
>
>
>
> Robby Oylear
>
> Mechanical Engineer
>
> direct: 206.788.4571
>
> cell: 206.354.2721
>
> www.rushingco.com
>
> ________________________________
>
> From: bldg-sim-bounces at lists.onebuilding.org
> [mailto:bldg-sim-bounces at lists.onebuilding.org] On Behalf Of Jeremy
> McClanathan
> Sent: Tuesday, June 17, 2008 4:08 PM
> To: bldg-sim at lists.onebuilding.org
> Subject: [Bldg-sim] User Input Expression
>
>
>
> 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
>
>



-- 
Steve Mignogna
Atelier Ten



More information about the Bldg-sim mailing list