Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

In EMS/ERL, does Holiday == 3.0 always correspond to the design days?

asked 2016-02-17 17:50:24 -0600

Elaine Hale's avatar

updated 2016-02-17 17:58:51 -0600

Going a bit farther, the EMS/ERL documentation lists

Holiday 0 if not. 1.0, 2.0, etc., for each type of holiday in model

but I do not know where to go/if there is a place to go to see what each of the non-zero values means. Do they have a set meaning in EnergyPlus, or is the meaning model specific? Also, are both design days (summer and winter) assigned to Holiday == 3.0?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-02-17 23:40:12 -0600

Chandan Sharma's avatar

updated 2016-02-18 02:39:43 -0600

Would be happy to stand corrected but here is my understanding. Though couldn't find enough documentation on this, running EMS program verifies these findings.

The logic below is true when either Use Weather File Holidays and Special Days in RunPeriod is set to No or when Use Weather File Holidays and Special Days in RunPeriod is set to Yes but EPW file doesn't have any holidays. That is, EPW has HOLIDAYS/DAYLIGHT SAVINGS,No,0,0,0

    If (simulation day != holiday) then
        Holiday = 0;
    else If (simulation day == holiday) then
        Holiday = 1;
        !  specified using RunPeriodControl:SpecialDays as follows
        !  RunPeriodControl:SpecialDays,
        !    New Years Day,           !- Name
        !    January 1,               !- Start Date
        !    1,                       !- Duration {days}
        !    Holiday;                 !- Special Day Type 

        ! (Christmas, New year, Thanksgiving, MLK/Labor/Memorial Day etc have Holiday value of 1)
    elseIf (simulation day == WinterDesignDay && DayType ==  WinterDesignDay) then
        Holiday = 3;
        ! SizingPeriod:DesignDay has input field DayType
    elseIf (simulation day == WinterDesignDay && DayType ==  Holiday) then
        Holiday = 1;
    elseIf (simulation day == SummerDesignDay && DayType ==  SummerDesignDay) then
        Holiday = 2;
    elseIf (simulation day == SummerDesignDay && DayType ==  Holiday) then
        Holiday = 1;
    endif
edit flag offensive delete link more

Comments

Thanks! It looks like (Holiday == 2) || (Holiday == 3) will pick out both design days ..

Elaine Hale's avatar Elaine Hale  ( 2016-02-18 12:08:08 -0600 )edit

Yes, if SizingPeriod:DesignDay has WinterDesignDay / SummerDesignDay in Day Type input field, (Holiday == 2) || (Holiday == 3) should pick out both design days

Chandan Sharma's avatar Chandan Sharma  ( 2016-02-19 03:37:34 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2016-02-17 17:50:24 -0600

Seen: 230 times

Last updated: Feb 18 '16