[Equest-users] Using #SI in switch statements

Robby Oylear robbyoylear at gmail.com
Sat Dec 29 07:58:43 PST 2012


This should be helpful:
http://www.esimforums.com/equest/viewtopic.php?f=70&t=139

To be more specific, the format you need to use is: #SI(“T24 CEZ4 Metal
Roof”, “EXTERIOR-WALL”,”CONSTRUCTION”)


On Fri, Dec 28, 2012 at 6:07 PM, Michael Hsueh <mhsueh at integralgroup.com>wrote:

> Hi all,
>
> I am trying to include a switch statement in an expression; the goal is to
> define a surface's construction based on the surface's TILT. Here is the
> switch statement I've pulled together:
>
> switch #L("TILT")
> case 0: #SI("T24 CEZ4 Metal Roof")
> case 90: #SI("T24 CEZ4 Metal Framed Ext Wall")
> case 180: #SI("T24 CEZ4 Mass Floor")
> default: #SI("T24 CEZ4 Metal Framed Ext Wall")
> endswitch
>
> When I input this as a user-defined expression for that surface's
> construction in eQuest, I receive a prompt indicating that I am not
> specifying the correct number of arguments for #SI. I am confused because
> the DOE2 Topics Manual states that #SI can work using only a single str
> input and the example provided also only uses a single str input.
>
> In case it's helpful, here's how the U-name for one of the constructions
> is defined.
>
> "T24 CEZ4 Metal Framed Ext Wall" = CONSTRUCTION
>    TYPE             = LAYERS
>    LAYERS           = "T24 CEZ4 Mtl frm Ext Wall Layers"
>
> I would really appreciate any feedback on this!
>
> *Michael Hsueh*
> Project Engineer
> *________________________________*
> I N T E G R A L
> *                         ** **GROUP*
> 427 13th Street, Oakland CA 94612
> 510 663 2070 x 241
> mhsueh at integralgroup.com
> www.integralgroup.com
> *DEEP GREEN Engineering.*
> *_______________________________*
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20121229/973ca7fd/attachment-0002.htm>


More information about the Equest-users mailing list