modelPartialFourPort
Partial model with four ports
Information
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_exposesStateandshowDesignFlowDirectionare not implemented.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Assumptions | |||
| Boolean | allowFlowReversal1 | true | = false to simplify equations, assuming, but not enforcing, no flow reversal for medium 1 |
| Boolean | allowFlowReversal2 | true | = false to simplify equations, assuming, but not enforcing, no flow reversal for medium 2 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_a1 | Fluid connector a1 (positive design flow direction is from port_a1 to port_b1) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b1 | Fluid connector b1 (positive design flow direction is from port_a1 to port_b1) | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_a2 | Fluid connector a2 (positive design flow direction is from port_a2 to port_b2) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b2 | Fluid connector b2 (positive design flow direction is from port_a2 to port_b2) |
Contents
| Name | Description |
|---|---|
| Medium 1 in the component | |
| Medium 2 in the component |
Revisions
-
August 27, 2024, by Jianjun Hu:
Corrected dropdown media choice. See IBPSA #1924. -
April 6, 2020, by Filip Jorissen:
Added arrows to the icon indicating the intended flow direction whenallowFlowReversal=false. See IBPSA #1336. -
January 18, 2019, by Jianjun Hu:
Limited the media choice. See IBPSA #1050. -
July 8, 2018, by Filip Jorissen:
Added nominal value ofh_outflowinFluidPorts. See IBPSA #977. -
November 12, 2015, by Michael Wetter:
Renamed model fromFourPorttoPartialFourPort. Removed parametersh_outflow_a1_start,h_outflow_b1_start,h_outflow_a2_startandh_outflow_b2_start. This is for issue IBPSA #299. -
October 30, 2015, by Matthis Thorade:
Addedpartialkeyword 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:
Removedimport Modelica.Constantsstatement. -
September 26, 2013 by Michael Wetter:
Added missingeachkeyword in declaration of nominal value forXi_outflow. -
September 17, 2010 by Michael Wetter:
Fixed bug: The start value forport_b1.h_outflowwas set toh_outflow_b2_startinstead ofh_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.