
modelThermalZones
Declaration of an FMU that exports multiple thermal zones
Extends from Annex60.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 thermal zone is
taken from
Annex60.Examples.Tutorial.SpaceCooling.System3
.
The example extends from
Annex60.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.SIunits.Volume | V | 6*10*3 | Room volume |
| Modelica.SIunits.Temperature | TASup_nominal | 273.15 + 18 | Nominal air temperature supplied to room |
| Modelica.SIunits.Temperature | TRooSet | 273.15 + 24 | Nominal room air temperature |
| Modelica.SIunits.Temperature | TOut_nominal | 273.15 + 30 | Design outlet air temperature |
| Modelica.SIunits.HeatFlowRate | QRooInt_flow | 1000 | Internal heat gains of the room |
| Modelica.SIunits.HeatFlowRate | QRooC_flow_nominal | -QRooInt_flow - 10E3/30*(TOut_nominal - TRooSet) | Nominal cooling load of the room |
| Modelica.SIunits.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 |
Contents
| Name | Description |
MediumA | Medium for air |
Revisions
-
September 14, 2016, by Michael Wetter:
First implementation.