Buildings.Fluid.FMI.ExportContainers.Validation.FMUs

Collection of validation models for FMU export

Information

This package contains validation models for the classes in Buildings.Fluid.FMI.ExportContainers. The test are done for different media, with and without flow reversal, and for air with zero, one or two contaminants.

Note that most validation models contain simple input data or systems which may not be realistic, but are useful to validate that the models are implemented correctly. These model outputs are stored as reference data and used for continuous validation whenever models in the library change.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1 HVACThermalZoneAir1 Validation model for the convective HVAC system
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir2 HVACThermalZoneAir2 Validation model for the convective HVAC system
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir3 HVACThermalZoneAir3 Validation model for the convective HVAC system
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir1 HVACThermalZoneSimpleAir1 Validation model for the convective HVAC system
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir2 HVACThermalZoneSimpleAir2 Validation model for the convective HVAC system
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir3 HVACThermalZoneSimpleAir3 Validation model for the convective HVAC system
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1 ThermalZoneAir1 Validation of simple thermal zone
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir2 ThermalZoneAir2 Validation of simple thermal zone
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir3 ThermalZoneAir3 Validation of simple thermal zone
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir1 ThermalZoneSimpleAir1 Validation of simple thermal zone
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir2 ThermalZoneSimpleAir2 Validation of simple thermal zone
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir3 ThermalZoneSimpleAir3 Validation of simple thermal zone

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1

Validation model for the convective HVAC system

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.HVACZone exports correctly as an FMU.

Extends from Buildings.Fluid.FMI.ExportContainers.HVACZone (Partial block to export an HVAC system that has no radiative component and that serves multiple zones as an FMU).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium in the component

Connectors

TypeNameDescription
replaceable package MediumMedium in the component
OutletfluPor[size(hvacAda.fluPor, 1)]Fluid connector
input RealInputTRadZonRadiative temperature of the zone [K]
output RealOutputQGaiRad_flowRadiant heat input into zone (positive if heat gain) [W]
output RealOutputQGaiSenCon_flowConvective sensible heat input into zone (positive if heat gain) [W]
output RealOutputQGaiLat_flowLatent heat input into zone (positive if heat gain) [W]

Modelica definition

block HVACThermalZoneAir1 "Validation model for the convective HVAC system" extends Buildings.Fluid.FMI.ExportContainers.HVACZone( redeclare package Medium = Buildings.Media.Air, hvacAda(nPorts=2)); protected Sources.Boundary_pT bou( redeclare package Medium = Medium, nPorts=1) "Boundary condition"; FixedResistances.PressureDrop sup( redeclare final package Medium = Medium, final m_flow_nominal=0.1, final dp_nominal=200, from_dp=true) "Supply air duct"; FixedResistances.PressureDrop ret( redeclare final package Medium = Medium, final m_flow_nominal=0.1, final dp_nominal=200) "Return air duct"; Modelica.Blocks.Sources.Constant zero(k=0) "Zero output signal"; protected Sources.MassFlowSource_T sou( redeclare package Medium = Medium, nPorts=1, m_flow=0.1) "Mass flow source"; equation connect(bou.ports[1], ret.port_b); connect(zero.y, QGaiRad_flow); connect(zero.y, QGaiSenCon_flow); connect(zero.y, QGaiLat_flow); connect(sup.port_b, hvacAda.ports[1]); connect(ret.port_a, hvacAda.ports[2]); connect(sou.ports[1], sup.port_a); end HVACThermalZoneAir1;

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir2 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir2

Validation model for the convective HVAC system

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir2

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.HVACZone exports correctly as an FMU.

Extends from Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1 (Validation model for the convective HVAC system).

Connectors

TypeNameDescription
OutletfluPor[size(hvacAda.fluPor, 1)]Fluid connector
input RealInputTRadZonRadiative temperature of the zone [K]
output RealOutputQGaiRad_flowRadiant heat input into zone (positive if heat gain) [W]
output RealOutputQGaiSenCon_flowConvective sensible heat input into zone (positive if heat gain) [W]
output RealOutputQGaiLat_flowLatent heat input into zone (positive if heat gain) [W]

Modelica definition

block HVACThermalZoneAir2 "Validation model for the convective HVAC system" extends Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1 ( redeclare package Medium = Buildings.Media.Air(extraPropertiesNames={"CO2"})); end HVACThermalZoneAir2;

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir3 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir3

Validation model for the convective HVAC system

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir3

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.HVACZone exports correctly as an FMU.

Extends from Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1 (Validation model for the convective HVAC system).

Connectors

TypeNameDescription
OutletfluPor[size(hvacAda.fluPor, 1)]Fluid connector
input RealInputTRadZonRadiative temperature of the zone [K]
output RealOutputQGaiRad_flowRadiant heat input into zone (positive if heat gain) [W]
output RealOutputQGaiSenCon_flowConvective sensible heat input into zone (positive if heat gain) [W]
output RealOutputQGaiLat_flowLatent heat input into zone (positive if heat gain) [W]

Modelica definition

block HVACThermalZoneAir3 "Validation model for the convective HVAC system" extends Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1 ( redeclare package Medium = Buildings.Media.Air(extraPropertiesNames={"CO2", "VOC", "CH2O"})); end HVACThermalZoneAir3;

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir1 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir1

Validation model for the convective HVAC system

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir1

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.HVACZone exports correctly as an FMU.

Extends from Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1 (Validation model for the convective HVAC system).

Connectors

TypeNameDescription
OutletfluPor[size(hvacAda.fluPor, 1)]Fluid connector
input RealInputTRadZonRadiative temperature of the zone [K]
output RealOutputQGaiRad_flowRadiant heat input into zone (positive if heat gain) [W]
output RealOutputQGaiSenCon_flowConvective sensible heat input into zone (positive if heat gain) [W]
output RealOutputQGaiLat_flowLatent heat input into zone (positive if heat gain) [W]

Modelica definition

block HVACThermalZoneSimpleAir1 "Validation model for the convective HVAC system" extends Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1 ( redeclare package Medium = Modelica.Media.Air.SimpleAir); end HVACThermalZoneSimpleAir1;

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir2 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir2

Validation model for the convective HVAC system

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir2

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.HVACZone exports correctly as an FMU.

Extends from Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1 (Validation model for the convective HVAC system).

Connectors

TypeNameDescription
OutletfluPor[size(hvacAda.fluPor, 1)]Fluid connector
input RealInputTRadZonRadiative temperature of the zone [K]
output RealOutputQGaiRad_flowRadiant heat input into zone (positive if heat gain) [W]
output RealOutputQGaiSenCon_flowConvective sensible heat input into zone (positive if heat gain) [W]
output RealOutputQGaiLat_flowLatent heat input into zone (positive if heat gain) [W]

Modelica definition

block HVACThermalZoneSimpleAir2 "Validation model for the convective HVAC system" extends Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1 ( redeclare package Medium = Modelica.Media.Air.SimpleAir(extraPropertiesNames={"CO2"})); end HVACThermalZoneSimpleAir2;

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir3 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir3

Validation model for the convective HVAC system

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir3

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.HVACZone exports correctly as an FMU.

Extends from Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1 (Validation model for the convective HVAC system).

Connectors

TypeNameDescription
OutletfluPor[size(hvacAda.fluPor, 1)]Fluid connector
input RealInputTRadZonRadiative temperature of the zone [K]
output RealOutputQGaiRad_flowRadiant heat input into zone (positive if heat gain) [W]
output RealOutputQGaiSenCon_flowConvective sensible heat input into zone (positive if heat gain) [W]
output RealOutputQGaiLat_flowLatent heat input into zone (positive if heat gain) [W]

Modelica definition

block HVACThermalZoneSimpleAir3 "Validation model for the convective HVAC system" extends Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir1 ( redeclare package Medium = Modelica.Media.Air.SimpleAir(extraPropertiesNames={"CO2", "VOC", "CH2O"})); end HVACThermalZoneSimpleAir3;

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1

Validation of simple thermal zone

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.ThermalZone exports correctly as an FMU.

Extends from Buildings.Fluid.FMI.ExportContainers.ThermalZone (Partial block to export a model of a thermal zone as an FMU).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium in the component
IntegernPorts2Number of fluid ports
VolumeV6*10*3Room volume [m3]
TemperatureTASup_nominal273.15 + 18Nominal air temperature supplied to room [K]
TemperatureTRooSet273.15 + 24Nominal room air temperature [K]
TemperatureTOut_nominal273.15 + 30Design outlet air temperature [K]
HeatFlowRateQRooInt_flow1000Internal heat gains of the room [W]
HeatFlowRateQRooC_flow_nominal-QRooInt_flow - 10E3/30*(TOu...Nominal cooling load of the room [W]
MassFlowRatem_flow_nominal1.3*QRooC_flow_nominal/1006/...Nominal air mass flow rate, increased by factor 1.3 to allow for recovery after temperature setback [kg/s]

Connectors

TypeNameDescription
replaceable package MediumMedium in the component
InletfluPor[nPorts]Fluid connector
output RealOutputTOutOutdoor temperature [K]

Modelica definition

block ThermalZoneAir1 "Validation of simple thermal zone" extends Buildings.Fluid.FMI.ExportContainers.ThermalZone( redeclare package Medium = Buildings.Media.Air, nPorts = 2); parameter Modelica.Units.SI.Volume V=6*10*3 "Room volume"; ///////////////////////////////////////////////////////// // Air temperatures at design conditions parameter Modelica.Units.SI.Temperature TASup_nominal=273.15 + 18 "Nominal air temperature supplied to room"; parameter Modelica.Units.SI.Temperature TRooSet=273.15 + 24 "Nominal room air temperature"; parameter Modelica.Units.SI.Temperature TOut_nominal=273.15 + 30 "Design outlet air temperature"; ///////////////////////////////////////////////////////// // Cooling loads and air mass flow rates parameter Modelica.Units.SI.HeatFlowRate QRooInt_flow=1000 "Internal heat gains of the room"; parameter Modelica.Units.SI.HeatFlowRate QRooC_flow_nominal=-QRooInt_flow - 10E3/30*(TOut_nominal - TRooSet) "Nominal cooling load of the room"; parameter Modelica.Units.SI.MassFlowRate m_flow_nominal=1.3* QRooC_flow_nominal/1006/(TASup_nominal - TRooSet) "Nominal air mass flow rate, increased by factor 1.3 to allow for recovery after temperature setback"; Modelica.Blocks.Interfaces.RealOutput TOut(final unit="K") "Outdoor temperature"; Buildings.HeatTransfer.Sources.PrescribedTemperature TOut1 "Outside temperature"; Modelica.Thermal.HeatTransfer.Components.ThermalConductor theCon(G=10000/30) "Thermal conductance with the ambient"; Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow preHea(Q_flow= QRooInt_flow) "Prescribed heat flow"; MixingVolumes.MixingVolume vol( redeclare package Medium = Medium, m_flow_nominal=m_flow_nominal, V=V, energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial, nPorts=2, mSenFac=3); Modelica.Blocks.Sources.Constant TOutSou(k=303.15) "Outdoor temperature"; protected FixedResistances.PressureDrop res1( redeclare final package Medium = Medium, final m_flow_nominal=m_flow_nominal, final dp_nominal=10, linearized=true) "Flow resistance"; FixedResistances.PressureDrop res2( redeclare final package Medium = Medium, final m_flow_nominal=m_flow_nominal, final dp_nominal=10, linearized=true) "Flow resistance"; public Sensors.MassFlowRate senMasFlo[nPorts](redeclare final package Medium = Medium) "Mass flow rate sensor to connect thermal adapter with thermal zone."; equation connect(theCon.port_b,vol. heatPort); connect(preHea.port,vol. heatPort); connect(TOut1.port,theCon. port_a); connect(vol.heatPort, theZonAda.heaPorAir); connect(TOutSou.y, TOut1.T); connect(TOut, TOutSou.y); connect(res2.port_b, vol.ports[1]); connect(res1.port_b, vol.ports[2]); connect(senMasFlo.port_a, theZonAda.ports); connect(senMasFlo[1].port_b, res1.port_a); connect(senMasFlo[2].port_b, res2.port_a); end ThermalZoneAir1;

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir2 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir2

Validation of simple thermal zone

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir2

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.ThermalZone exports correctly as an FMU.

Extends from Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1 (Validation of simple thermal zone).

Parameters

TypeNameDefaultDescription
IntegernPorts2Number of fluid ports
VolumeV6*10*3Room volume [m3]
TemperatureTASup_nominal273.15 + 18Nominal air temperature supplied to room [K]
TemperatureTRooSet273.15 + 24Nominal room air temperature [K]
TemperatureTOut_nominal273.15 + 30Design outlet air temperature [K]
HeatFlowRateQRooInt_flow1000Internal heat gains of the room [W]
HeatFlowRateQRooC_flow_nominal-QRooInt_flow - 10E3/30*(TOu...Nominal cooling load of the room [W]
MassFlowRatem_flow_nominal1.3*QRooC_flow_nominal/1006/...Nominal air mass flow rate, increased by factor 1.3 to allow for recovery after temperature setback [kg/s]

Connectors

TypeNameDescription
InletfluPor[nPorts]Fluid connector
output RealOutputTOutOutdoor temperature [K]

Modelica definition

block ThermalZoneAir2 "Validation of simple thermal zone" extends Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1( redeclare package Medium = Buildings.Media.Air(extraPropertiesNames={"CO2"})); end ThermalZoneAir2;

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir3 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir3

Validation of simple thermal zone

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir3

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.ThermalZone exports correctly as an FMU.

Extends from Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1 (Validation of simple thermal zone).

Parameters

TypeNameDefaultDescription
IntegernPorts2Number of fluid ports
VolumeV6*10*3Room volume [m3]
TemperatureTASup_nominal273.15 + 18Nominal air temperature supplied to room [K]
TemperatureTRooSet273.15 + 24Nominal room air temperature [K]
TemperatureTOut_nominal273.15 + 30Design outlet air temperature [K]
HeatFlowRateQRooInt_flow1000Internal heat gains of the room [W]
HeatFlowRateQRooC_flow_nominal-QRooInt_flow - 10E3/30*(TOu...Nominal cooling load of the room [W]
MassFlowRatem_flow_nominal1.3*QRooC_flow_nominal/1006/...Nominal air mass flow rate, increased by factor 1.3 to allow for recovery after temperature setback [kg/s]

Connectors

TypeNameDescription
InletfluPor[nPorts]Fluid connector
output RealOutputTOutOutdoor temperature [K]

Modelica definition

block ThermalZoneAir3 "Validation of simple thermal zone" extends Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1( redeclare package Medium = Buildings.Media.Air(extraPropertiesNames={"CO2", "VOC", "CH2O"})); end ThermalZoneAir3;

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir1 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir1

Validation of simple thermal zone

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir1

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.ThermalZone exports correctly as an FMU.

Extends from Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1 (Validation of simple thermal zone).

Parameters

TypeNameDefaultDescription
IntegernPorts2Number of fluid ports
VolumeV6*10*3Room volume [m3]
TemperatureTASup_nominal273.15 + 18Nominal air temperature supplied to room [K]
TemperatureTRooSet273.15 + 24Nominal room air temperature [K]
TemperatureTOut_nominal273.15 + 30Design outlet air temperature [K]
HeatFlowRateQRooInt_flow1000Internal heat gains of the room [W]
HeatFlowRateQRooC_flow_nominal-QRooInt_flow - 10E3/30*(TOu...Nominal cooling load of the room [W]
MassFlowRatem_flow_nominal1.3*QRooC_flow_nominal/1006/...Nominal air mass flow rate, increased by factor 1.3 to allow for recovery after temperature setback [kg/s]

Connectors

TypeNameDescription
InletfluPor[nPorts]Fluid connector
output RealOutputTOutOutdoor temperature [K]

Modelica definition

block ThermalZoneSimpleAir1 "Validation of simple thermal zone" extends Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1( redeclare package Medium = Modelica.Media.Air.SimpleAir); end ThermalZoneSimpleAir1;

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir2 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir2

Validation of simple thermal zone

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir2

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.ThermalZone exports correctly as an FMU.

Extends from Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1 (Validation of simple thermal zone).

Parameters

TypeNameDefaultDescription
IntegernPorts2Number of fluid ports
VolumeV6*10*3Room volume [m3]
TemperatureTASup_nominal273.15 + 18Nominal air temperature supplied to room [K]
TemperatureTRooSet273.15 + 24Nominal room air temperature [K]
TemperatureTOut_nominal273.15 + 30Design outlet air temperature [K]
HeatFlowRateQRooInt_flow1000Internal heat gains of the room [W]
HeatFlowRateQRooC_flow_nominal-QRooInt_flow - 10E3/30*(TOu...Nominal cooling load of the room [W]
MassFlowRatem_flow_nominal1.3*QRooC_flow_nominal/1006/...Nominal air mass flow rate, increased by factor 1.3 to allow for recovery after temperature setback [kg/s]

Connectors

TypeNameDescription
InletfluPor[nPorts]Fluid connector
output RealOutputTOutOutdoor temperature [K]

Modelica definition

block ThermalZoneSimpleAir2 "Validation of simple thermal zone" extends Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1( redeclare package Medium = Modelica.Media.Air.SimpleAir(extraPropertiesNames={"CO2"})); end ThermalZoneSimpleAir2;

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir3 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir3

Validation of simple thermal zone

Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir3

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.ThermalZone exports correctly as an FMU.

Extends from Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1 (Validation of simple thermal zone).

Parameters

TypeNameDefaultDescription
IntegernPorts2Number of fluid ports
VolumeV6*10*3Room volume [m3]
TemperatureTASup_nominal273.15 + 18Nominal air temperature supplied to room [K]
TemperatureTRooSet273.15 + 24Nominal room air temperature [K]
TemperatureTOut_nominal273.15 + 30Design outlet air temperature [K]
HeatFlowRateQRooInt_flow1000Internal heat gains of the room [W]
HeatFlowRateQRooC_flow_nominal-QRooInt_flow - 10E3/30*(TOu...Nominal cooling load of the room [W]
MassFlowRatem_flow_nominal1.3*QRooC_flow_nominal/1006/...Nominal air mass flow rate, increased by factor 1.3 to allow for recovery after temperature setback [kg/s]

Connectors

TypeNameDescription
InletfluPor[nPorts]Fluid connector
output RealOutputTOutOutdoor temperature [K]

Modelica definition

block ThermalZoneSimpleAir3 "Validation of simple thermal zone" extends Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1( redeclare package Medium = Modelica.Media.Air.SimpleAir(extraPropertiesNames={"CO2", "VOC", "CH2O"})); end ThermalZoneSimpleAir3;