[Equest-users] User Expression Window Width, Height as Function of Glass-Type

Bishop, Bill bbishop at pathfinder-ea.com
Thu Apr 9 05:53:01 PDT 2020


Hi Melissa,
I hope you are doing well!
Try this instead, where the case number corresponds with the number order in which they appear in the input file:

switch(#SV(#L("GLASS-TYPE")))
case  1 :  12  $ GT1
case  2 :  8    $ GT3
case  3 :  4    $ GT4
default :      10
endswitch 

LLOP.
~Bill

________________________________________
From: Equest-users [equest-users-bounces at lists.onebuilding.org] on behalf of Melissa Crowe via Equest-users [equest-users at lists.onebuilding.org]
Sent: Wednesday, April 08, 2020 5:05 PM
To: equest-users at lists.onebuilding.org
Subject: [Equest-users] User Expression Window Width, Height as Function of Glass-Type

Hi All

Hoping this day find you all safe at home and healthy!

Having a LEED review head-ache.  I need to change the way eQuest evaluates the assembly U-value for the proposed building.

I have 12 window types with variations in glazing, dimensions and # of mullions.  The way I see it now easiest to assign each window type as a "Glass-Type"  and then do an expression for height, width and frame width for each type.

Is there a way to do Height as function of Glass-Type..... the following is not working for me.

switch(#L("GLASS-TYPE"))
case "GT1" :  12
case "GT3" :  8
case "GT4" :  4
default :      #@##!!
ENDSWITCH

The problem is that  default : is required and all cases end up being the default.


Any Ideas?

Thanks
Melissa

Melissa Crowe, LEED AP, BEMP
Senior Mechanical/Energy Engineer

161 Worcester Road, Suite 305
Framingham, MA 01701
O: 508.647.9200 x1225
C: 978.204.2559
cmta.com



_______________________________________________
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


More information about the Equest-users mailing list