Buildings.ThermalZones.EnergyPlus.Validation.Schedule

Collection of validation models for EnergyPlus schedules

Information

This package contains validation models for EnergyPlus schedules.

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
Buildings.ThermalZones.EnergyPlus.Validation.Schedule.EquipmentScheduleOutputVariable EquipmentScheduleOutputVariable Validation case with a schedule that is not sampled, and output reader of the energy affected by the scheduled value

Buildings.ThermalZones.EnergyPlus.Validation.Schedule.EquipmentScheduleOutputVariable Buildings.ThermalZones.EnergyPlus.Validation.Schedule.EquipmentScheduleOutputVariable

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

Buildings.ThermalZones.EnergyPlus.Validation.Schedule.EquipmentScheduleOutputVariable

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.

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

Parameters

TypeNameDefaultDescription
VolumeVRoo453.1Room volume [m3]
MassFlowRatem_flow_nominalVRoo*1.2*0.3/3600Nominal mass flow rate [kg/s]

Modelica definition

model EquipmentScheduleOutputVariable "Validation case with a schedule that is not sampled, and output reader of the energy affected by the scheduled value" extends Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.EquipmentSchedule; Buildings.ThermalZones.EnergyPlus.OutputVariable equEle( name="Zone Electric Equipment Electricity Rate", key="LIVING ZONE", isDirectDependent=true, y(final unit="W")) "Block that reads output from EnergyPlus"; Utilities.Diagnostics.AssertEquality assEqu( threShold=1E-6, message="EnergyPlus did not synchronize the output variable correctly") "Assertion to test whether the schedule and the EnergyPlus output variable are correctly synchronized"; Controls.OBC.CDL.Continuous.Gain gai( k=500) "Gain for internal heat gain"; equation connect(schInt.y,equEle.directDependency); connect(equEle.y,assEqu.u1); connect(assEqu.u2,gai.y); connect(gai.u,intLoaFra.y); end EquipmentScheduleOutputVariable;