modelValveOpeningFlowBalancing
Validation model for the computation of the valve opening ensuring flow balancing
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model validates the computation of the valve opening that ensures flow balancing proportional to design flow in the case of linear valves configured with a pressure drop varying linearly with the flow rate.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | m1_flow | 1 | Valve #1 design mass flow rate |
| Real | m2_flow | 1.5 | Valve #2 design mass flow rate |
| Real | dpv1 | 1E3 | Valve #1 design pressure drop |
| Real | dpv2 | 1E3 | Valve #2 design pressure drop |
| Real | dpf1 | 3E4 | Design pressure drop of fixed flow resistance in series with valve #1 |
| Real | dpf2 | 5E4 | Design pressure drop of fixed flow resistance in series with valve #2 |
| Real | dps | 20E4 | |
| Real | y1 | if dpf2 + dpv2 - dpf1 <= 0 then 1 else (dpv1/(dpf2 + dpv2 - dpf1))^0.5 | Valve #1 opening |
| Real | y2 | if dpf1 + dpv1 - dpf2 <= 0 then 1 else (dpv2/(dpf1 + dpv1 - dpf2))^0.5 | Valve #2 opening |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Fluid.Actuators.Valves.TwoWayLinear | val1 | Valve #1 | |
| Fluid.Actuators.Valves.TwoWayLinear | val2 | Valve #1 | |
| Fluid.Sources.Boundary_pT | bou | Pressure boundary condition | |
| Fluid.Sources.Boundary_pT | bou1 | Pressure boundary condition | |
| Modelica.Blocks.Sources.RealExpression[2] | y | Valve opening signal |
Contents
| Name | Description |
|---|---|
Revisions
-
February 24, 2023, by Antoine Gautier:
First implementation.