
modelThermalZone
Declaration of an FMU that exports a thermal zone
Extends from IBPSA.Fluid.FMI.ExportContainers.ThermalZone (Partial block to export a model of a thermal zone as an FMU).
Information
This example demonstrates how to export a model
that contains one thermal zone with convective heat input from the
HVAC system only. The thermal zone is connected to an adaptor so that
it can be coupled
to an air-based HVAC system. The thermal zone is
taken from
IBPSA.Examples.Tutorial.SpaceCooling.System3
.
The example extends from
IBPSA.Fluid.FMI.ExportContainers.ThermalZone
which provides
the input and output signals that are needed to interface
the acausal thermal zone model 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 | nPorts (from ThermalZone) | | Number of fluid ports |
| 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
-
December 4, 2017, by Michael Wetter:
Added call to Modelica.Utilities.Files.loadResource
for weather data file.
This is for
#867.
-
April 12, 2017, by Michael Wetter:
Removed temperature that is no longer needed.
This is for issue
Buildings #704.
-
September 20, 2016, by Thierry S. Nouidui:
Revised implementation and added mass flow rate sensors
to connect the thermal zone adaptor to the thermal zone.
-
April 28, 2016, by Thierry S. Nouidui:
First implementation.