AixLib.Fluid.FMI.Adaptors.ThermalZone

# .AixLib.Fluid.FMI.Adaptors.ThermalZone

Adaptor for connecting a thermal zone to signal ports which then can be exposed at an FMI interface

## Information

Adaptor that can be used to connect a model of a thermal zone (with acausal ports) to input/output signals, which can be exposed in an FMI interface.

This model has a vector `fluPor` with dimension `nPorts` which can be exposed at the FMI interface for the connecting the HVAC system. These connectors contain for each fluid inlet the mass flow rate, the temperature, the water vapor mass fraction per total mass of the air (unless `Medium.nXi=0`), and the trace substances (unless `Medium.nC=0`).

The connector `ports` can be used to connect the model with a thermal zone. The number of connections to `ports` must be equal to `nPorts`.

#### Assumption and limitations

The mass flow rates at `ports` sum to zero, hence this model conserves mass. If the mass flow rates at `fluPor` do not sum to zero, then this model stops with an error.

This model does not impose any pressure, other than setting the pressure of all fluid connections to `ports` to be equal. The reason is that setting a pressure can lead to non-physical system models, for example if a mass flow rate is imposed and the HVAC system is connected to a model that sets a pressure boundary condition such as AixLib.Fluid.Sources.Outside. Also, setting a pressure would make it impossible to use multiple instances of this model (one for each thermal zone) and build in Modelica an airflow network model with pressure driven mass flow rates.

The model has no pressure drop.

#### Typical use

See AixLib.Fluid.FMI.ExportContainers.ThermalZone for a model that uses this model.

## Contents

Name | Description
--- | ---
Medium | Medium in the component

## Revisions

- January 18, 2019, by Jianjun Hu:
  Limited the media choice to moist air only. See #1050.
- June 29, 2016, by Michael Wetter:
  Revised implementation and documentation.
- April 27, 2016, by Thierry S. Nouidui:
  First implementation.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos