modelPortAThroughPortsB
Model to connect single port port_a to fluid port bus ports_b
Extends from PartialModularPort_b (Base model for all modular models with one inlet port and multiple outlet ports).
Information
This component transports fluid between its signle inlet and multiple
outlet ports, without storing mass or energy. Therefore, all inlet
ports ports_a are simply connected with the outlet port
port_b[i].
Implementation
This component is required to connect models extending from
PartialModularPort_a or
PartialModularPort_ab with, for example, boundary models
prestended in AixLib.Fluid.Sources. These
models are not directly connectable because the models presented in
AixLib.Fluid.Sources need undefined port sizes and that does not hold
for models extending from PartialModularPort_a or
PartialModularPort_ab.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| General › Modular approach | |||
| Integer | nVal | 1 | Number of valves - each valve will be connected to an individual port_b |
| Modular approach | |||
| Integer | nPorts (from PartialModularPort_b) | 1 | Number of outlet ports |
| Assumptions › General | |||
| Boolean | allowFlowReversal (from PartialModularPort_b) | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Advanced › Initialisation medium | |||
| Modelica.Units.SI.PressureDifference | dp_start (from PartialModularPort_b) | 1e5 | Guess value of pressure difference for subcomponents |
| Medium.MassFlowRate | m_flow_start (from PartialModularPort_b) | 0.5*m_flow_nominal | Guess value of m_flow = port_a.m_flow |
| Advanced › Numeric limitations | |||
| Modelica.Units.SI.PressureDifference | dp_nominal (from PartialModularPort_b) | 7.5e5 | Pressure drop at nominal conditions |
| Medium.MassFlowRate | m_flow_nominal (from PartialModularPort_b) | 0.1 | Nominal mass flow rate |
| Medium.MassFlowRate | m_flow_small (from PartialModularPort_b) | 1e-6*m_flow_nominal | Small mass flow rate for regularization of zero flow |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_a (from PartialModularPort_b) | Fluid connector a (positive design flow direction is from port_a to port_b) | |
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts] | ports_b (from PartialModularPort_b) | Fluid connectors b (positive design flow direction is from port_a to port_b) |
Revisions
- October 16, 2017, by Mirko Engelpracht, Christian Vering:
First implementation (see issue 457).