modelThermalZones
Extends from IBPSA.Fluid.FMI.ExportContainers.ThermalZones (Partial block to export a model of multiple thermal zones as an FMU).
Information
This example demonstrates how to export a model that contains two thermal zones with convective heat input from the HVAC system only. The thermal zones are connected to an adaptor so that they can be coupled to an air-based HVAC system.
The example extends from
IBPSA.Fluid.FMI.ExportContainers.ThermalZones
which provides
the input and output signals that are needed to interface
the acausal thermal zone models with causal connectors of FMI.
The instance theZonAda is the thermal zone adaptor
that contains on the right a fluid port, and on
the left signal ports which are then used to connect at
the top-level of the model to signal ports which are
exposed at the FMU interface.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nZon (from ThermalZones) | Number of thermal zones in this container | |
| Integer | nPorts (from ThermalZones) | Number of fluid ports for each zone (must be the same for every zone) | |
| Modelica.Units.SI.Volume | V | 6*10*3 | Room volume |
| Modelica.Units.SI.Temperature | TASup_nominal | 273.15 + 18 | Nominal air temperature supplied to room |
| Modelica.Units.SI.Temperature | TRooSet | 273.15 + 24 | Nominal room air temperature |
| Modelica.Units.SI.Temperature | TOut_nominal | 273.15 + 30 | Design outlet air temperature |
| Modelica.Units.SI.HeatFlowRate | QRooInt_flow | 1000 | Internal heat gains of the room |
| Modelica.Units.SI.HeatFlowRate | QRooC_flow_nominal | -QRooInt_flow - 10E3/30*(TOut_nominal - TRooSet) | Nominal cooling load of the room |
| Modelica.Units.SI.MassFlowRate | mA_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 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Inlet[nZon,nPorts] | fluPor (from ThermalZones) | Fluid connectors | |
| BoundaryConditions.WeatherData.Bus | weaBus | Weather data bus | |
| Modelica.Blocks.Interfaces.RealOutput | TOut | Outdoor temperature | |
| Modelica.Blocks.Interfaces.RealOutput | TRad1 | Radiative temperature | |
| Modelica.Blocks.Interfaces.RealOutput | TRad2 | Radiative temperature |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Adaptors.ThermalZone[nZon] | theZonAda (from ThermalZones) | Adapter between the HVAC supply and return air, and its connectors for the FMU | |
| BoundaryConditions.WeatherData.ReaderTMY3 | weaDat | Weather data reader | |
| Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature | TAirOut | Outside air temperature | |
| Modelica.Thermal.HeatTransfer.Components.ThermalConductor | theCon1 | Thermal conductance with the ambient | |
| Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow | preHea1 | Prescribed heat flow for internal gains | |
| MixingVolumes.MixingVolume | vol1 | Room volume | |
| Modelica.Thermal.HeatTransfer.Components.ThermalConductor | theCon2 | Thermal conductance with the ambient | |
| Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow | preHea2 | Prescribed heat flow for internal gains | |
| MixingVolumes.MixingVolume | vol2 | Room volume | |
| Sensors.MassFlowRate[nPorts] | senMasFlo | Mass flow rate sensor to connect thermal adapter with thermal zone. | |
| Sensors.MassFlowRate[nPorts] | senMasFlo1 | Mass flow rate sensor to connect thermal adapter with thermal zone. | |
| Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensor | temSen1 | Temperature sensor (that approximates the radiative temperature by the air temperature) | |
| Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensor | temSen2 | Temperature sensor (that approximates the radiative temperature by the air temperature) |
Contents
| Name | Description |
|---|---|
| Medium for air |