modelEquipmentScheduleOutputVariable

Validation case with a schedule that is not sampled, and output reader of the energy affected by the scheduled value

Extends from Buildings.ThermalZones.EnergyPlus_24_2_0.Examples.SingleFamilyHouse.EquipmentSchedule (Example model with a schedule that overrides a schedule in EnergyPlus).

Information

Simple test case that verifies whether the schedule for the internal loads used by EnergyPlus is modified from Modelica, and the electrical equipment load that is controlled by this schedule is reported correctly.

The instance assEqu asserts that the input and output of EnergyPlus are correctly synchronized. If the output were delayed, the simulation would stop with an error.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.VolumeVRoo (from Unconditioned)453.1Room volume
Modelica.Units.SI.MassFlowRatem_flow_nominal (from Unconditioned)VRoo*1.2*0.3/3600Nominal mass flow rate

Components

TypeNameDefaultDescription
Buildings.ThermalZones.EnergyPlus_24_2_0.Buildingbuilding (from Unconditioned)Building model
Buildings.ThermalZones.EnergyPlus_24_2_0.ThermalZonezon (from Unconditioned)Thermal zone
Buildings.Fluid.FixedResistances.PressureDropduc (from Unconditioned)Duct resistance (to decouple room and outside pressure)
Buildings.Fluid.Sources.MassFlowSource_WeatherDatabou (from Unconditioned)Boundary condition
Buildings.Fluid.Sources.Boundary_pTfreshAir (from Unconditioned)Boundary condition
Modelica.Blocks.Sources.Constant[3]qIntGai (from Unconditioned)Internal heat gains, set to zero because these are modeled in EnergyPlus
Buildings.ThermalZones.EnergyPlus_24_2_0.ScheduleschInt (from EquipmentSchedule)Block that writes to the EnergyPlus schedule INTERMITTENT
Buildings.Controls.OBC.CDL.Reals.Sources.PulseintLoaFra (from EquipmentSchedule)Schedule for fraction of internal loads
Buildings.ThermalZones.EnergyPlus_24_2_0.OutputVariableequEleBlock that reads output from EnergyPlus
Buildings.Utilities.Diagnostics.AssertEqualityassEquAssertion to test whether the schedule and the EnergyPlus output variable are correctly synchronized
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametergaiGain for internal heat gain

Revisions

  • June 5, 2020, by Michael Wetter:
    First implementation.