connectorInlet

Connector for fluid inlet

Information

This is a connector for a fluid inlet. The connector takes as an input the following quantities:

  • The mass flow rate m_flow.
  • The pressure p, unless use_p_in=false.
  • The temperature of the inflowing fluid forward.T, e.g., the temperature of the fluid that streams out of the component if m_flow > 0.
  • The mass fraction of the inflowing fluid forward.Xi, unless Medium.nXi=0.
  • The trace substances of the inflowing fluid forward.C, unless Medium.nC=0.

If allowFlowReversal = true, the connector also outputs the following quantities.

  • The temperature of the outflowing fluid backward.T, e.g., if m_flow ≤ 0.
  • The mass fraction of the outflowing fluid backward.Xi, unless Medium.nXi=0.
  • The trace substances of the outflowing fluid backward.C, unless Medium.nC=0.

If allowFlowReversal = false, then these outputs are not present.

Parameters

TypeNameDefaultDescription
Booleanuse_p_intrue= true to use a pressure from connector, false to output Medium.p_default
Assumptions
BooleanallowFlowReversaltrue= true to allow flow reversal, false restricts to design direction (inlet -> outlet)

Connectors

TypeNameDefaultDescription
IBPSA.Fluid.FMI.Interfaces.FluidPropertiesforwardInflowing properties
IBPSA.Fluid.FMI.Interfaces.FluidPropertiesbackwardOutflowing properties

Components

TypeNameDefaultDescription
Medium.MassFlowRatem_flowMass flow rate from the connection point into the component
IBPSA.Fluid.FMI.Interfaces.PressureInputpThermodynamic pressure in the connection point

Contents

NameDescription
MediumMedium model

Revisions

  • April 29, 2015, by Michael Wetter:
    Redesigned to conditionally remove the pressure connector if use_p_in=false.
  • April 15, 2015 by Michael Wetter:
    Changed connector variable to be temperature instead of specific enthalpy.
  • November 8, 2014 by Michael Wetter:
    First implementation.