modelStartDayOfYear

Validation model for the start day of the week

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This validation case simulates two instances of Buildings.ThermalZones.EnergyPlus_24_2_0.Validation.OutputVariable.OneZoneOneOutputVariable, a model that outputs the electricity consumption that is specified via an EnergyPlus schedule. This schedule set the electricity consumption to zero for the whole day on Saturday and Sunday, but not on other days. In the instance sun, the start day of the year is left as the default, which is Sunday, and in the instance mon, it is set to Monday. Plotting the electricity consumption verifies that the setting is properly applied in EnergyPlus.

Components

TypeNameDefaultDescription
Buildings.ThermalZones.EnergyPlus_24_2_0.Validation.OutputVariable.OneZoneOneOutputVariablesunModel with first day of the week being Sunday
Buildings.ThermalZones.EnergyPlus_24_2_0.Validation.OutputVariable.OneZoneOneOutputVariablemonModel with first day of the week being Monday
Modelica.Blocks.Sources.RealExpressionsunEleElectricity consumption for model with Sunday as the first day of the week
Modelica.Blocks.Sources.RealExpressionmonEleElectricity consumption for model with Monday as the first day of the week

Revisions

  • May 18, 2021, by Michael Wetter:
    First implementation for #2926.