First time here? Check out the Help page!
1 | initial version |
Would be happy to stand corrected but here is my understanding. Though couldn't find documentation on this but 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
! specified using RunPeriodControl:SpecialDays as follows
! RunPeriodControl:SpecialDays,
! New Years Day, !- Name
! January 1, !- Start Date
! 1, !- Duration {days}
! Holiday; !- Special Day Type
Holiday = 1
elseIf (simulation day == WinterDesignDay && DayType == WinterDesignDay) then
! SizingPeriod:DesignDay has input field DayType
Holiday = 3
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
2 | No.2 Revision |
Would be happy to stand corrected but here is my understanding. Though couldn't find documentation on this but 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
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
Holiday = 1
! (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
Holiday = 3
elseIf (simulation day == WinterDesignDay && DayType == Holiday) then
Holiday = 1
Holiday = 1;
elseIf (simulation day == SummerDesignDay && DayType == SummerDesignDay) then
Holiday = 2
Holiday = 2;
elseIf (simulation day == SummerDesignDay && DayType == Holiday) then
Holiday = 1
Holiday = 1;
endif
3 | No.3 Revision |
Would be happy to stand corrected but here is my understanding. Though couldn't find enough documentation on this but this, running EMS program verifies these findings. 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