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 | 
|---|---|
|  HVACThermalZoneAir1 | Validation model for the convective HVAC system | 
|  HVACThermalZoneAir2 | Validation model for the convective HVAC system | 
|  HVACThermalZoneAir3 | Validation model for the convective HVAC system | 
|  HVACThermalZoneSimpleAir1 | Validation model for the convective HVAC system | 
|  HVACThermalZoneSimpleAir2 | Validation model for the convective HVAC system | 
|  HVACThermalZoneSimpleAir3 | Validation model for the convective HVAC system | 
|  ThermalZoneAir1 | Validation of simple thermal zone | 
|  ThermalZoneAir2 | Validation of simple thermal zone | 
|  ThermalZoneAir3 | Validation of simple thermal zone | 
|  ThermalZoneSimpleAir1 | Validation of simple thermal zone | 
|  ThermalZoneSimpleAir2 | Validation of simple thermal zone | 
|  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
 
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
| Type | Name | Default | Description | 
|---|---|---|---|
| replaceable package Medium | PartialMedium | Medium in the component | |
Connectors
| Type | Name | Description | 
|---|---|---|
| replaceable package Medium | Medium in the component | |
| Outlet | fluPor[size(hvacAda.fluPor, 1)] | Fluid connector | 
| input RealInput | TRadZon | Radiative temperature of the zone [K] | 
| output RealOutput | QGaiRad_flow | Radiant heat input into zone (positive if heat gain) [W] | 
| output RealOutput | QGaiSenCon_flow | Convective sensible heat input into zone (positive if heat gain) [W] | 
| output RealOutput | QGaiLat_flow | Latent heat input into zone (positive if heat gain) [W] | 
Modelica definition
 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir2
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir2
Validation model for the convective HVAC system
 
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
| Type | Name | Description | 
|---|---|---|
| Outlet | fluPor[size(hvacAda.fluPor, 1)] | Fluid connector | 
| input RealInput | TRadZon | Radiative temperature of the zone [K] | 
| output RealOutput | QGaiRad_flow | Radiant heat input into zone (positive if heat gain) [W] | 
| output RealOutput | QGaiSenCon_flow | Convective sensible heat input into zone (positive if heat gain) [W] | 
| output RealOutput | QGaiLat_flow | Latent heat input into zone (positive if heat gain) [W] | 
Modelica definition
 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir3
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneAir3
Validation model for the convective HVAC system
 
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
| Type | Name | Description | 
|---|---|---|
| Outlet | fluPor[size(hvacAda.fluPor, 1)] | Fluid connector | 
| input RealInput | TRadZon | Radiative temperature of the zone [K] | 
| output RealOutput | QGaiRad_flow | Radiant heat input into zone (positive if heat gain) [W] | 
| output RealOutput | QGaiSenCon_flow | Convective sensible heat input into zone (positive if heat gain) [W] | 
| output RealOutput | QGaiLat_flow | Latent heat input into zone (positive if heat gain) [W] | 
Modelica definition
 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir1
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir1
Validation model for the convective HVAC system
 
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
| Type | Name | Description | 
|---|---|---|
| Outlet | fluPor[size(hvacAda.fluPor, 1)] | Fluid connector | 
| input RealInput | TRadZon | Radiative temperature of the zone [K] | 
| output RealOutput | QGaiRad_flow | Radiant heat input into zone (positive if heat gain) [W] | 
| output RealOutput | QGaiSenCon_flow | Convective sensible heat input into zone (positive if heat gain) [W] | 
| output RealOutput | QGaiLat_flow | Latent heat input into zone (positive if heat gain) [W] | 
Modelica definition
 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir2
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir2
Validation model for the convective HVAC system
 
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
| Type | Name | Description | 
|---|---|---|
| Outlet | fluPor[size(hvacAda.fluPor, 1)] | Fluid connector | 
| input RealInput | TRadZon | Radiative temperature of the zone [K] | 
| output RealOutput | QGaiRad_flow | Radiant heat input into zone (positive if heat gain) [W] | 
| output RealOutput | QGaiSenCon_flow | Convective sensible heat input into zone (positive if heat gain) [W] | 
| output RealOutput | QGaiLat_flow | Latent heat input into zone (positive if heat gain) [W] | 
Modelica definition
 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir3
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.HVACThermalZoneSimpleAir3
Validation model for the convective HVAC system
 
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
| Type | Name | Description | 
|---|---|---|
| Outlet | fluPor[size(hvacAda.fluPor, 1)] | Fluid connector | 
| input RealInput | TRadZon | Radiative temperature of the zone [K] | 
| output RealOutput | QGaiRad_flow | Radiant heat input into zone (positive if heat gain) [W] | 
| output RealOutput | QGaiSenCon_flow | Convective sensible heat input into zone (positive if heat gain) [W] | 
| output RealOutput | QGaiLat_flow | Latent heat input into zone (positive if heat gain) [W] | 
Modelica definition
 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir1
Validation of simple thermal zone
 
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
| Type | Name | Default | Description | 
|---|---|---|---|
| replaceable package Medium | PartialMedium | Medium in the component | |
| Integer | nPorts | 2 | Number of fluid ports | 
| Volume | V | 6*10*3 | Room volume [m3] | 
| Temperature | TASup_nominal | 273.15 + 18 | Nominal air temperature supplied to room [K] | 
| Temperature | TRooSet | 273.15 + 24 | Nominal room air temperature [K] | 
| Temperature | TOut_nominal | 273.15 + 30 | Design outlet air temperature [K] | 
| HeatFlowRate | QRooInt_flow | 1000 | Internal heat gains of the room [W] | 
| HeatFlowRate | QRooC_flow_nominal | -QRooInt_flow - 10E3/30*(TOu... | Nominal cooling load of the room [W] | 
| MassFlowRate | m_flow_nominal | 1.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
| Type | Name | Description | 
|---|---|---|
| replaceable package Medium | Medium in the component | |
| Inlet | fluPor[nPorts] | Fluid connector | 
| output RealOutput | TOut | Outdoor temperature [K] | 
Modelica definition
 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir2
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir2
Validation of simple thermal zone
 
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
| Type | Name | Default | Description | 
|---|---|---|---|
| Integer | nPorts | 2 | Number of fluid ports | 
| Volume | V | 6*10*3 | Room volume [m3] | 
| Temperature | TASup_nominal | 273.15 + 18 | Nominal air temperature supplied to room [K] | 
| Temperature | TRooSet | 273.15 + 24 | Nominal room air temperature [K] | 
| Temperature | TOut_nominal | 273.15 + 30 | Design outlet air temperature [K] | 
| HeatFlowRate | QRooInt_flow | 1000 | Internal heat gains of the room [W] | 
| HeatFlowRate | QRooC_flow_nominal | -QRooInt_flow - 10E3/30*(TOu... | Nominal cooling load of the room [W] | 
| MassFlowRate | m_flow_nominal | 1.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
| Type | Name | Description | 
|---|---|---|
| Inlet | fluPor[nPorts] | Fluid connector | 
| output RealOutput | TOut | Outdoor temperature [K] | 
Modelica definition
 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir3
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneAir3
Validation of simple thermal zone
 
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
| Type | Name | Default | Description | 
|---|---|---|---|
| Integer | nPorts | 2 | Number of fluid ports | 
| Volume | V | 6*10*3 | Room volume [m3] | 
| Temperature | TASup_nominal | 273.15 + 18 | Nominal air temperature supplied to room [K] | 
| Temperature | TRooSet | 273.15 + 24 | Nominal room air temperature [K] | 
| Temperature | TOut_nominal | 273.15 + 30 | Design outlet air temperature [K] | 
| HeatFlowRate | QRooInt_flow | 1000 | Internal heat gains of the room [W] | 
| HeatFlowRate | QRooC_flow_nominal | -QRooInt_flow - 10E3/30*(TOu... | Nominal cooling load of the room [W] | 
| MassFlowRate | m_flow_nominal | 1.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
| Type | Name | Description | 
|---|---|---|
| Inlet | fluPor[nPorts] | Fluid connector | 
| output RealOutput | TOut | Outdoor temperature [K] | 
Modelica definition
 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir1
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir1
Validation of simple thermal zone
 
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
| Type | Name | Default | Description | 
|---|---|---|---|
| Integer | nPorts | 2 | Number of fluid ports | 
| Volume | V | 6*10*3 | Room volume [m3] | 
| Temperature | TASup_nominal | 273.15 + 18 | Nominal air temperature supplied to room [K] | 
| Temperature | TRooSet | 273.15 + 24 | Nominal room air temperature [K] | 
| Temperature | TOut_nominal | 273.15 + 30 | Design outlet air temperature [K] | 
| HeatFlowRate | QRooInt_flow | 1000 | Internal heat gains of the room [W] | 
| HeatFlowRate | QRooC_flow_nominal | -QRooInt_flow - 10E3/30*(TOu... | Nominal cooling load of the room [W] | 
| MassFlowRate | m_flow_nominal | 1.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
| Type | Name | Description | 
|---|---|---|
| Inlet | fluPor[nPorts] | Fluid connector | 
| output RealOutput | TOut | Outdoor temperature [K] | 
Modelica definition
 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir2
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir2
Validation of simple thermal zone
 
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
| Type | Name | Default | Description | 
|---|---|---|---|
| Integer | nPorts | 2 | Number of fluid ports | 
| Volume | V | 6*10*3 | Room volume [m3] | 
| Temperature | TASup_nominal | 273.15 + 18 | Nominal air temperature supplied to room [K] | 
| Temperature | TRooSet | 273.15 + 24 | Nominal room air temperature [K] | 
| Temperature | TOut_nominal | 273.15 + 30 | Design outlet air temperature [K] | 
| HeatFlowRate | QRooInt_flow | 1000 | Internal heat gains of the room [W] | 
| HeatFlowRate | QRooC_flow_nominal | -QRooInt_flow - 10E3/30*(TOu... | Nominal cooling load of the room [W] | 
| MassFlowRate | m_flow_nominal | 1.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
| Type | Name | Description | 
|---|---|---|
| Inlet | fluPor[nPorts] | Fluid connector | 
| output RealOutput | TOut | Outdoor temperature [K] | 
Modelica definition
 Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir3
Buildings.Fluid.FMI.ExportContainers.Validation.FMUs.ThermalZoneSimpleAir3
Validation of simple thermal zone
 
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
| Type | Name | Default | Description | 
|---|---|---|---|
| Integer | nPorts | 2 | Number of fluid ports | 
| Volume | V | 6*10*3 | Room volume [m3] | 
| Temperature | TASup_nominal | 273.15 + 18 | Nominal air temperature supplied to room [K] | 
| Temperature | TRooSet | 273.15 + 24 | Nominal room air temperature [K] | 
| Temperature | TOut_nominal | 273.15 + 30 | Design outlet air temperature [K] | 
| HeatFlowRate | QRooInt_flow | 1000 | Internal heat gains of the room [W] | 
| HeatFlowRate | QRooC_flow_nominal | -QRooInt_flow - 10E3/30*(TOu... | Nominal cooling load of the room [W] | 
| MassFlowRate | m_flow_nominal | 1.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
| Type | Name | Description | 
|---|---|---|
| Inlet | fluPor[nPorts] | Fluid connector | 
| output RealOutput | TOut | Outdoor temperature [K] | 
