blockThermalZoneAir1

Validation of simple thermal zone

Extends from Buildings.Fluid.FMI.ExportContainers.ThermalZone (Partial block to export a model of a thermal zone as an FMU).

Information

This example validates that Buildings.Fluid.FMI.ExportContainers.ThermalZone exports correctly as an FMU.

Parameters

TypeNameDefaultDescription
IntegernPorts (from ThermalZone)Number of fluid ports
Modelica.Units.SI.VolumeV6*10*3Room volume
Modelica.Units.SI.TemperatureTASup_nominal273.15 + 18Nominal air temperature supplied to room
Modelica.Units.SI.TemperatureTRooSet273.15 + 24Nominal room air temperature
Modelica.Units.SI.TemperatureTOut_nominal273.15 + 30Design outlet air temperature
Modelica.Units.SI.HeatFlowRateQRooInt_flow1000Internal heat gains of the room
Modelica.Units.SI.HeatFlowRateQRooC_flow_nominal-QRooInt_flow - 10E3/30*(TOut_nominal - TRooSet)Nominal cooling load of the room
Modelica.Units.SI.MassFlowRatem_flow_nominal1.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

TypeNameDefaultDescription
Interfaces.Inlet[nPorts]fluPor (from ThermalZone)Fluid connector
Modelica.Blocks.Interfaces.RealOutputTOutOutdoor temperature

Components

TypeNameDefaultDescription
Adaptors.ThermalZonetheZonAda (from ThermalZone)Adapter between the HVAC supply and return air, and its connectors for the FMU
Buildings.HeatTransfer.Sources.PrescribedTemperatureTOut1Outside temperature
Modelica.Thermal.HeatTransfer.Components.ThermalConductortheConThermal conductance with the ambient
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlowpreHeaPrescribed heat flow
MixingVolumes.MixingVolumevol
Modelica.Blocks.Sources.ConstantTOutSouOutdoor temperature
Sensors.MassFlowRate[nPorts]senMasFloMass flow rate sensor to connect thermal adapter with thermal zone.

Revisions

  • 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.