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
.
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.
See AixLib.Fluid.FMI.ExportContainers.ThermalZone for a model that uses this model.
Name | Description |
---|---|
Medium | Medium in the component |