2

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

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?

Elaine Hale's avatar
155
Elaine Hale
asked 2016-02-17 17:50:24 -0500, updated 2016-02-17 17:58:51 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

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
Chandan Sharma's avatar
2.4k
Chandan Sharma
answered 2016-02-17 23:40:12 -0500, updated 2016-02-18 02:39:43 -0500
edit flag offensive 0 remove flag delete link

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 -0500) 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 -0500) edit
add a comment see more comments