Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable

Collection of validation models for EnergyPlus output variables

Information

This package contains validation models for EnergyPlus output variables.

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

Package Content

Name Description
Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.NoOutputVariable NoOutputVariable Failing example caused by missing Output:Variable in the idf
Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable OneEnvironmentOutputVariable Validation model that has only one output variable from the environment conditions reported to Modelica
Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOneOutputVariable OneZoneOneOutputVariable Validation model for one zone with one output variable
Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOneOutputVariableSummer OneZoneOneOutputVariableSummer Validation model for one zone with one output variable for a summer period
Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable OneZoneOutputVariable Validation model that has only one output variable from a zone reported to Modelica
Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneTwoDifferentOutputVariables OneZoneTwoDifferentOutputVariables Validation model for one zone with two different output variables
Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneTwoIdenticalOutputVariables OneZoneTwoIdenticalOutputVariables Validation model for one zone with two identical output variables

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.NoOutputVariable Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.NoOutputVariable

Failing example caused by missing Output:Variable in the idf

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.NoOutputVariable

Information

This validation case tests whether Spawn works for an idf file that has no output variables declared.

The model is identical to Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.Unconditioned except that it uses an idf file that has no output variables.

Extends from Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.Unconditioned (Example model with one unconditoned zone simulated in Modelica, and the other two unconditioned zones simulated in EnergyPlus).

Parameters

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

Modelica definition

model NoOutputVariable "Failing example caused by missing Output:Variable in the idf" extends Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.Unconditioned ( building(idfName=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/ThermalZones/EnergyPlus_9_6_0/Examples/SingleFamilyHouse_TwoSpeed_ZoneAirBalance/SingleFamilyHouse_TwoSpeed_ZoneAirBalance_NoOutput.idf"))); end NoOutputVariable;

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable

Validation model that has only one output variable from the environment conditions reported to Modelica

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable

Information

Simple test case for one building in which only an EnergyPlus output variable is read.

In this model, the site drybulb temperature is obtained from EnergyPlus. Note that this variable could be read directly from the Modelica weather data bus, which can be accessed from Buildings.ThermalZones.EnergyPlus_9_6_0.Building.

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

Modelica definition

model OneEnvironmentOutputVariable "Validation model that has only one output variable from the environment conditions reported to Modelica" extends Modelica.Icons.Example; inner Building building( idfName=Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/Data/ThermalZones/EnergyPlus_9_6_0/Examples/SingleFamilyHouse_TwoSpeed_ZoneAirBalance/SingleFamilyHouse_TwoSpeed_ZoneAirBalance.idf"), epwName=Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw"), weaName=Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos"), computeWetBulbTemperature=false) "Building model"; Buildings.ThermalZones.EnergyPlus_9_6_0.OutputVariable TEnePlu( name="Site Outdoor Air Drybulb Temperature", key="Environment", y(final unit="K", displayUnit="degC")) "Block that reads an EnergyPlus output variable"; end OneEnvironmentOutputVariable;

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOneOutputVariable Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOneOutputVariable

Validation model for one zone with one output variable

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOneOutputVariable

Information

Simple test case for one building with one thermal zone and one output variable.

The room air temperature is free floating.

Extends from Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.Unconditioned (Example model with one unconditoned zone simulated in Modelica, and the other two unconditioned zones simulated in EnergyPlus).

Parameters

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

Modelica definition

model OneZoneOneOutputVariable "Validation model for one zone with one output variable" extends Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.Unconditioned; Buildings.ThermalZones.EnergyPlus_9_6_0.OutputVariable equEle( name="Zone Electric Equipment Electricity Rate", key="LIVING ZONE", y(final unit="W")) "Block that reads output from EnergyPlus"; end OneZoneOneOutputVariable;

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOneOutputVariableSummer Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOneOutputVariableSummer

Validation model for one zone with one output variable for a summer period

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOneOutputVariableSummer

Information

Test case identical to Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOneOutputVariable but simulating only a period in summer.

This example tests whether the start and end time can be set in Modelica independently from the EnergyPlus idf file.

Extends from Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOneOutputVariable (Validation model for one zone with one output variable).

Parameters

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

Modelica definition

model OneZoneOneOutputVariableSummer "Validation model for one zone with one output variable for a summer period" extends Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOneOutputVariable; end OneZoneOneOutputVariableSummer;

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable

Validation model that has only one output variable from a zone reported to Modelica

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable

Information

Simple test case for one building in which only an EnergyPlus output variable is read.

In this model, the zone mean air temperature is obtained from EnergyPlus.

Extends from Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable (Validation model that has only one output variable from the environment conditions reported to Modelica).

Modelica definition

model OneZoneOutputVariable "Validation model that has only one output variable from a zone reported to Modelica" extends Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable ( TEnePlu( name="Zone Mean Air Temperature", key="LIVING ZONE")); end OneZoneOutputVariable;

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneTwoDifferentOutputVariables Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneTwoDifferentOutputVariables

Validation model for one zone with two different output variables

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneTwoDifferentOutputVariables

Information

Simple test case for one building with one thermal zone and two different output variables. This test case validates that the outputs are correct if requested from different EnergyPlus variables.

Extends from OneZoneOneOutputVariable (Validation model for one zone with one output variable).

Parameters

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

Modelica definition

model OneZoneTwoDifferentOutputVariables "Validation model for one zone with two different output variables" extends OneZoneOneOutputVariable; Buildings.ThermalZones.EnergyPlus_9_6_0.OutputVariable incBeaSou( name="Surface Outside Face Incident Beam Solar Radiation Rate per Area", key="Living:South", y(final unit="W/m2")) "Block that reads incident beam solar radiation on south window from EnergyPlus"; end OneZoneTwoDifferentOutputVariables;

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneTwoIdenticalOutputVariables Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneTwoIdenticalOutputVariables

Validation model for one zone with two identical output variables

Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneTwoIdenticalOutputVariables

Information

Simple test case for one building with one thermal zone and two identical output variables. This test case validates that the outputs are correct even if requested twice from the same EnergyPlus variable.

Extends from OneZoneOneOutputVariable (Validation model for one zone with one output variable).

Parameters

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

Modelica definition

model OneZoneTwoIdenticalOutputVariables "Validation model for one zone with two identical output variables" extends OneZoneOneOutputVariable; Buildings.ThermalZones.EnergyPlus_9_6_0.OutputVariable equEle2( name="Zone Electric Equipment Electricity Rate", key="LIVING ZONE", y(final unit="W")) "Block that reads output from EnergyPlus"; end OneZoneTwoIdenticalOutputVariables;