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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_p_in | true | = true to use a pressure from connector, false to output Medium.p_default |
| Assumptions | |||
| Boolean | allowFlowReversal | true | = true to allow flow reversal, false restricts to design direction (inlet -> outlet) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.FMI.Interfaces.Inlet | inlet | Fluid inlet | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b | Fluid port | |
| Buildings.Fluid.FMI.Interfaces.PressureOutput | p | Pressure |
Contents
| Name | Description |
|---|---|
| Medium 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 ofMedium.temperature_phXandMedium.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 ifuse_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.