modelThreeWayValve
Three-way valve for continuously controlling complementary branch openings
Extends from ThermofluidStream.Utilities.DropOfCommonsPlus.
Information
New, improved version of the Switch: The ThreeWayValve model should be used e.g. if the split ratio of the two flows it separates, shall be controlled. The Switch had large pressure drops for inputs between 0 and 1, while this is now fixed in the new model (by using different valve models inside). The parameters may need to be adjusted.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k_min | 0.03 | Remaining flow at actuation signal u = 0 |
| Boolean | invertInput | false | =true, if the control input is inverted |
| Valve parameters | |||
| FlowCoeffType | flowCoefficient | FlowCoeffType.Kvs | Select type of flow coefficient |
| Real | Kvs | 0 | Kvs-value (metric) from data sheet (valve fully open) |
| Real | Cvs_US | 0 | Cvs-value (US [gal/min]) from data sheet (valve fully open) |
| Real | Cvs_UK | 0 | Cvs-value (UK [gal/min]) from data sheet (valve fully open) |
| SI.MassFlowRate | m_flow_ref_set | 0.1 | Reference mass flow rate |
| Initialization | |||
| Boolean | initializeOneMassflowSplit | false | = true, if mass flow rate ratio is initialized |
| Advanced | |||
| ThermofluidStream.Utilities.Units.Inertance | L | dropOfCommons.L | Inertance |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermofluidStream.Interfaces.Inlet | inlet | ||
| ThermofluidStream.Interfaces.Outlet | outletA | ||
| ThermofluidStream.Interfaces.Outlet | outletB | ||
| Modelica.Blocks.Interfaces.RealInput | u | Control signal for valve openings | |
| BasicControlValve | basicControlValveB | ||
| BasicControlValve | basicControlValveA | ||
| ThermofluidStream.Topology.SplitterT2 | splitterT2_1 | ||
| Real | u2 | (if not invertInput then u else 1 - u) | |
| Real | x_coord | 57*cos(u2*Modelica.Constants.pi/2) | |
| Real | y_coord | 57*sin(u2*Modelica.Constants.pi/2) |
Contents
| Name | Description |
|---|---|
| Medium | Medium model |
| valveCharacteristics |