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

TypeNameDefaultDescription
IntegernPorts0Number of ports
Booleanuse_m_flow_infalseGet the mass flow rate from the input connector
Modelica.Units.SI.MassFlowRatem_flow0Fixed mass flow rate going out of the fluid port
Nominal condition
Modelica.Units.SI.MassFlowRatem_flow_nominalNominal mass flow rate, used for regularization near zero flow
Advanced
Modelica.Units.SI.MassFlowRatem_flow_small1E-4*m_flow_nominalFor bi-directional flow, temperature is regularized in the region |m_flow| < m_flow_small (m_flow_small > 0 required)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputm_flow_inPrescribed mass flow rate
Modelica.Blocks.Interfaces.RealInputT_inPrescribed boundary temperature
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts]ports
Modelica.Blocks.Interfaces.RealOutputHSen_flowSensible enthalpy flow rate, positive if flow into the component

Components

TypeNameDefaultDescription
Buildings.Fluid.Sensors.EnthalpyFlowRate[nPorts]totEntFloRatTotal enthalpy flow rate (sensible plus latent)
Modelica.Blocks.Math.SumsumHTot_flowSum of total enthalpy flow rates
Buildings.Fluid.Sources.MassFlowSource_Tbou

Contents

NameDescription
MediumMedium 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.