modelInlet

Adaptor for connecting a fluid inlet to the FMI interface

Information

Model that is used to connect an input signal to a fluid port. The model needs to be used in conjunction with an instance of Buildings.Fluid.FMI.Adaptors.Outlet in order for fluid mass flow rate and pressure to be properly assigned to the acausal fluid models.

See Buildings.Fluid.FMI.ExportContainers.PartialTwoPort or Buildings.Fluid.FMI.ExportContainers.Examples.FMUs.ResistanceVolume for how to use this model.

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
Buildings.Fluid.FMI.Interfaces.InletinletFluid inlet
Modelica.Fluid.Interfaces.FluidPort_bport_bFluid port
Buildings.Fluid.FMI.Interfaces.PressureOutputpPressure

Contents

NameDescription
MediumMedium in the component

Revisions

  • March 18, 2024, by Michael Wetter:
    Added causality.
    See IBPSA, #1853.
  • January 18, 2019, by Jianjun Hu:
    Limited the media choice to moist air and water. See #1050.
  • November 8, 2016, by Michael Wetter:
    Corrected wrong argument type in function call of Medium.temperature_phX and Medium.specificEnthalpy_pTX.
  • October 23, 2016, by Michael Wetter:
    Changed type of pressure output connector.
  • 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.
  • January 21, 2014 by Michael Wetter:
    First implementation.