
modelFluidInterface
Partial class for fluid interface that can be coupled to BCVTB
Extends from Buildings.BaseClasses.BaseIcon (Base icon).
Information
This is a partial model that is used to construct models for
interfacing fluid flow systems with the BCVTB interface.
Parameters
| Type | Name | Default | Description |
| Integer | nPorts | 0 | Number of ports |
| Boolean | use_m_flow_in | false | Get the mass flow rate from the input connector |
| Modelica.Units.SI.MassFlowRate | m_flow | 0 | Fixed mass flow rate going out of the fluid port |
| Nominal condition |
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | | Nominal mass flow rate, used for regularization near zero flow |
| Advanced |
| Modelica.Units.SI.MassFlowRate | m_flow_small | 1E-4*m_flow_nominal | For bi-directional flow, temperature is regularized in the region |m_flow| < m_flow_small (m_flow_small > 0 required) |
Contents
| Name | Description |
Medium | Medium model within the source |
Revisions
-
May 21, 2026, by Michael Wetter:
Removed protected parameter flowDirection as it was set to Birectional
and had no effect on the model.
This is for Buildings, #4607.
-
May 27, 2016, by Michael Wetter:
Refactored mass flow rate assignment to avoid using conditional connector
in a variable assignment.
-
May 30, 2014, by Michael Wetter:
Removed undesirable annotation Evaluate=true.
-
April 5, 2011, by Michael Wetter:
Added nominal values that are needed by the sensor.
-
September 11, 2009, by Michael Wetter:
First implementation.