modelSplitterRatio
Splits a flow into two subflows with prescribed ratio
Extends from ThermofluidStream.Utilities.DropOfCommonsPlus.
Information
Splitter, that uses a directly set split ratio. In order to have stationary r that goes to zero, a pressure difference between outlet A and B is calculated, that is applied to one of the outlets, until r->0.
The idear builds on the splitter with an enforeced regime of Zimmer Real-Time Simulation of an Aircraft Electric Driven Environmental Control System for Virtual Testing Purposes Sec 3.4


Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SplitterModes | mode | SplitterModes.pressureDrop | Splitter mode (see Documentation) |
| Boolean | invert | false | = true, if splitRatio input is inverted (1-splitRatio) |
| Advanced | |||
| ThermofluidStream.Utilities.Units.Inertance | L | dropOfCommons.L | Inertance of each inlet/outlet |
| SI.Time | TC | 0.1 | Time constant for RT massflow constraint |
| SI.Pressure | p_reg | 1e2 | Regularizaion pressure for pressure drop calculation |
| Medium.Density | rho_min | dropOfCommons.rho_min | Minimum density |
| SI.Time | TC_input | 0.05 | Time constant for splitRatio input (PT1) |
| SI.Power | P_thresh | 1 | Power threshold for warning |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermofluidStream.Interfaces.Inlet | inlet | ||
| ThermofluidStream.Interfaces.Outlet | outletA | ||
| ThermofluidStream.Interfaces.Outlet | outletB | ||
| Modelica.Blocks.Interfaces.RealInput | splitRatio | ||
| SI.SpecificVolume | v_in | 1/max(Medium.density(inlet.state), rho_min) | Inlet specific volume |
| SI.SpecificVolume | v_A | 1/max(Medium.density(outletA.state), rho_min) | Outlet A specific volume |
| SI.SpecificVolume | v_B | 1/max(Medium.density(outletB.state), rho_min) | Outlet B specific volume |
| SI.Power | P_A | (v_in + v_A)/2*(-outletA.m_flow)*(p_A - p_in) | Loss in enthalpy flow rate (A) |
| SI.Power | P_B | (v_in + v_B)/2*(-outletB.m_flow)*(p_B - p_in) | Loss in enthalpy flow rate (B) |
Contents
| Name | Description |
|---|---|
| Medium | Medium model |