Buildings.ThermalZones.EnergyPlus_24_2_0.Data
Package containing data for EnergyPlus
Information
This package contains data for EnergyPlus configuration.
Extends from Modelica.Icons.MaterialPropertiesPackage (Icon for package containing property classes).
Package Content
Name | Description |
---|---|
![]() |
Record for EnergyPlus RunPeriod |
Buildings.ThermalZones.EnergyPlus_24_2_0.Data.RunPeriod
Record for EnergyPlus RunPeriod
Information
Record containing the configuration of the EnergyPlus RunPeriod
object.
The parameter startDayOfYear
is the day of the week for January 1,
regardless of the actual start time of the simulation.
For example, if startDayOfYear = Sunday
, and the Modelica model
is simulated starting at t = 1 day, then the first simulated day is a Monday.
Please note the following points:
-
If
startDayOfYear = Sunday
, and the Modelica model is simulated starting at t = 1 year, e.g, at t = 365 days, then the first simulated day is a Saturday because 52*7=364, and therefore simulating 365 days shifts the days of the weeks by one. -
The Modelica parameter
startDayOfYear
differs from how EnergyPlus, if run natively, processes the idf entry forDay of Week for Start Day
. -
The simulation start and stop time is controlled by Modelica,
and therefore all entries in the EnergyPlus input data file for the
RunPeriod
object are ignored. - There is no support for leap years, each year has 365 days, also in multi-year simulations.
Extends from Modelica.Icons.Record (Icon for records).
Contents
Type | Name | Default | Description |
---|---|---|---|
WeekDays | startDayOfYear | Buildings.ThermalZones.Energ... | Week day of the first day that is simulated |
Boolean | applyWeekEndHolidayRule | false | Set to true to apply week-end holiday rules |
Boolean | use_weatherFileDaylightSavingPeriod | false | Set to true to apply the daylight saving period from the weather data file if present |
Boolean | use_weatherFileHolidaysAndSpecialDays | false | Set to true to apply holidays and special days from the weather data file if present |
Boolean | use_weatherFileRainIndicators | true | Set to true to use rain indicators from the weather file |
Boolean | use_weatherFileSnowIndicators | true | Set to true to use rain indicators from the weather file |
Modelica definition
record RunPeriod "Record for EnergyPlus RunPeriod"
extends Modelica.Icons.Record;
parameter Buildings.ThermalZones.EnergyPlus_24_2_0.Types.WeekDays startDayOfYear = Buildings.ThermalZones.EnergyPlus_24_2_0.Types.WeekDays.Sunday
"Week day of the first day that is simulated";
parameter Boolean applyWeekEndHolidayRule = false "Set to true to apply week-end holiday rules";
parameter Boolean use_weatherFileDaylightSavingPeriod = false
"Set to true to apply the daylight saving period from the weather data file if present";
parameter Boolean use_weatherFileHolidaysAndSpecialDays = false
"Set to true to apply holidays and special days from the weather data file if present";
parameter Boolean use_weatherFileRainIndicators = true
"Set to true to use rain indicators from the weather file";
parameter Boolean use_weatherFileSnowIndicators = true
"Set to true to use rain indicators from the weather file";
end RunPeriod;