Partial model with four ports
This model defines an interface for components with four ports.
The parameters allowFlowReversal1 and
allowFlowReversal2 may be used by models that extend
this model to treat flow reversal.
This model is identical to
Modelica.Fluid.Interfaces.PartialTwoPort, except for the
fowllowing:
- it has four ports, and
-
the parameters
port_a_exposesState,
port_b_exposesState and
showDesignFlowDirection
are not implemented.
Contents
| Name | Description |
|---|
Medium1 | Medium 1 in the component |
Medium2 | Medium 2 in the component |
-
April 6, 2020, by Filip Jorissen:
Added arrows to the icon indicating the intended flow direction
when allowFlowReversal=false.
See #1336.
-
January 18, 2019, by Jianjun Hu:
Limited the media choice.
See #1050.
-
July 8, 2018, by Filip Jorissen:
Added nominal value of h_outflow in FluidPorts.
See #977.
-
November 12, 2015, by Michael Wetter:
Renamed model from FourPort to
PartialFourPort.
Removed parameters
h_outflow_a1_start,
h_outflow_b1_start,
h_outflow_a2_start and
h_outflow_b2_start.
This is for issue
#299.
-
October 30, 2015, by Matthis Thorade:
Added partial keyword to model declaration.
-
October 6, 2014, by Michael Wetter:
Changed medium declaration in ports to be final.
-
October 3, 2014, by Michael Wetter:
Changed assignment of nominal value to avoid in OpenModelica the warning
alias set with different nominal values.
-
November 12, 2013, by Michael Wetter:
Removed import Modelica.Constants statement.
-
September 26, 2013 by Michael Wetter:
Added missing each keyword in declaration of nominal value for
Xi_outflow.
-
September 17, 2010 by Michael Wetter:
Fixed bug: The start value for port_b1.h_outflow
was set to h_outflow_b2_start instead of h_outflow_b1_start.
-
February 26, 2010 by Michael Wetter:
Added start values for outflowing enthalpy because they
are often iteration variables in nonlinear equation systems.
Generated at 2025-10-29T19:21:14Z
by OpenModelicaOpenModelica 1.25.5 using GenerateDoc.mos