modelFlowJoin
Extends from Icons.Gas.FlowJoin.
Information
This component allows to join two separate flows into one. The model is based on mass and energy balance equations, without any mass or energy buildup, and without any pressure drop between the inlet and the outlets.
Since stream connectors are used in the library, this component is actually not necessary to handle a three-way connection. It can be used for a finer tuning of the simplified model for initialization using homotopy, in particularly hard-to-initialize systems, and it is included in the library for backwards compatibility.
Modelling options
If rev_inlet1, rev_inlet2 or rev_outlet is true, the respective flows reversal is allowed. If at least ona among these parameters is false, it is possible to set checkFlowDirection.
If checkFlowDirection is true, when the flow reversal happen where it is not allowed, the error message is showed.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.MassFlowRate | wzero | 1e-9 | Small flowrate to avoid singularity in computing the outlet enthalpy and composition |
| Boolean | allowFlowReversal | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction |
| Boolean | rev_inlet1 | allowFlowReversal | Allow flow reversal at inlet1 |
| Boolean | rev_inlet2 | allowFlowReversal | Allow flow reversal at inlet2 |
| Boolean | rev_outlet | allowFlowReversal | Allow flow reversal at outlet |
| Boolean | checkFlowDirection | false | Check flow direction |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FlangeA | inlet1 | ||
| FlangeA | inlet2 | ||
| FlangeB | outlet |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermoPower.System | system | System wide properties |
Contents
| Name | Description |
|---|---|
Revisions
- 30 Oct 2014
by Francesco Casella:
Bug fixing. - 23 May 2008
by Luca Savoldelli:
Allow flows reversal option added. - 20 Dec 2004
by Francesco Casella:
Adapted to Modelica.Media. - 5 Mar 2004
by Francesco Casella:
First release.