modelFluidInterface
Partial class for fluid interface that can be coupled to BCVTB
Extends from Buildings.BaseClasses.BaseIcon.
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) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | m_flow_in | Prescribed mass flow rate | |
| Modelica.Blocks.Interfaces.RealInput | T_in | Prescribed boundary temperature | |
| Buildings.Fluid.Sensors.EnthalpyFlowRate[nPorts] | totEntFloRat | Total enthalpy flow rate (sensible plus latent) | |
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts] | ports | ||
| Modelica.Blocks.Math.Sum | sumHTot_flow | Sum of total enthalpy flow rates | |
| Modelica.Blocks.Interfaces.RealOutput | HSen_flow | Sensible enthalpy flow rate, positive if flow into the component | |
| Buildings.Fluid.Sources.MassFlowSource_T | bou |
Contents
| Name | Description |
|---|---|
| Medium | Medium model within the source |
Revisions
-
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 annotationEvaluate=true. -
April 5, 2011, by Michael Wetter:
Added nominal values that are needed by the sensor. -
September 11, 2009, by Michael Wetter:
First implementation.