modelThermalZoneHVACNoExhaust
Example of a thermal zone and an HVAC system both exposed using the FMI adaptor
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example demonstrates how to use the adaptors Buildings.Fluid.FMI.Adaptors.HVAC and Buildings.Fluid.FMI.Adaptors.ThermalZone
On the left hand side is an HVAC system with supply and return air stream. These are all connected to the adaptor. On the right of the adaptor is a simple room model, approximated by a volume with first order dynamics and heat loss to the ambient.
Note that the there is zero net air flow into and out of the volume vol
because the adaptor hvacAda conserves mass. Hence, any infiltration or
exfiltration needs to be
connected to the adaptor hvacAda, rather than the volume vol.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.HeatFlowRate | Q_flow_nominal | 30*6*6 | Nominal heat loss of the room |
| Modelica.Units.SI.Volume | VRoo | 6*6*2.7 | Room volume |
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | VRoo*2*1.2/3600 | Nominal mass flow rate |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.FMI.Adaptors.HVAC | hvacAda | Adaptor for an HVAC system that is exposed through an FMI interface | |
| Buildings.Fluid.FMI.Adaptors.ThermalZone | con | Adaptor for thermal zone | |
| Modelica.Blocks.Sources.Pulse | TSet | Setpoint for room temperature | |
| Controls.Continuous.LimPID | conPI | Controller | |
| Movers.FlowControlled_m_flow | mov | Fan or pump | |
| HeatExchangers.HeaterCooler_u | hea | Heater | |
| Sources.Boundary_pT | out | Pressure and temperature source for outdoor | |
| HeatExchangers.ConstantEffectiveness | hex | Heat recovery | |
| MixingVolumes.MixingVolume | vol | Room volume | |
| Modelica.Thermal.HeatTransfer.Components.ThermalConductor | theCon | Thermal conductance with the ambient | |
| Buildings.HeatTransfer.Sources.PrescribedTemperature | TBou | Fixed temperature boundary condition | |
| Modelica.Blocks.Sources.RealExpression | TOutZon | Outdoor temperature used for the thermal zone model | |
| Modelica.Blocks.Sources.RealExpression | TOutHVAC | Outdoor temperature used for the HVAC model |
Contents
| Name | Description |
|---|---|
| Medium for air |
Revisions
-
March 11, 2020, by Michael Wetter:
RemovedfontSizein annotation.
This is for #1318. -
November 29, 2016, by Michael Wetter:
Added separate signal for outdoor temperature used by HVAC system. This is to improve clarity regarding what signals are exchanged, see also #598. -
June 29, 2016, by Michael Wetter:
First implementation.