[Bldg-sim] DOE2 User Input Expressions

Brian Fountain bfountain at greensim.com
Fri May 23 11:21:58 PDT 2008


try this:

   PEOPLE-SCHEDULE  =
{if (#PA("Schedules") == "Title24")
                        then #SI("T24 DAYTIME 
OCC","SPACE","PEOPLE-SCHEDULE")
                        else #SI("Rink Occ Sch","SPACE","PEOPLE-SCHEDULE")
                       endif}

Steve Mignogna wrote:
> All-
>
> I'm looking to use "if statements" within DOE2.  For example, I'm 
> trying to input a specific LPD based on the type of lighting schedule 
> that is specified.  Ideally, I would like to couple multiple if 
> statements together but I can't even get this one to work:
>
> {if(#L("LIGHTING-SCHEDULE")=Classroom InstLt Sch)
> then 1.2
> else 0
> endif}
>
> Any ideas on how this could work?
>
> Thanks,
>
> -- 
> Steve Mignogna
> Atelier Ten
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 7.5.524 / Virus Database: 269.24.0/1462 - Release Date: 5/23/2008 7:20 AM
>   




More information about the Bldg-sim mailing list