modelpartialSplitterY
Extends from ThermofluidStream.Utilities.DropOfCommonsPlus.
Information
Extension of SplitterN to consider dynamic pressure. The outlets vector is replaced with two independent outlets and Bernuolli's principle
(change of static pressure due to change of velocity dq) as well as pressure loss variables dp for each branch ( pressure loss of branch and straight channel are computed
in the extending model) are added.
From those changes in static pressures each outlet state is defined. Additional equations:
dq_straight = Medium.density(inlet.state)/2*(c_in^2 - c_straight^2);
dq_branching = Medium.density(inlet.state)/2*(c_in^2 - c_branching^2);
p_straight = p_in + dq_straight + dp_straight;
p_branching = p_in + dq_branching + dp_branching;
outlet_straight.state = Medium.setState_phX(p_straight, h_out, Xi_out);
outlet_branching.state = Medium.setState_phX(p_branching, h_out, Xi_out);
This partial model is base for Y-shaped splitter models. For implementation of other splitter configurations it is suggested to copy the code and adjust the icon positioning as needed.
[P. Jordan; HTWG Konstanz; 01/24]
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Advanced | |||
| ThermofluidStream.Utilities.Units.Inertance | L | dropOfCommons.L | Inertance |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermofluidStream.Interfaces.Inlet | inlet | Inlet | |
| ThermofluidStream.Interfaces.Outlet | outlet_straight | Straight outlet | |
| ThermofluidStream.Interfaces.Outlet | outlet_branching | Branching outlet | |
| SI.Pressure | dq_straight | Dynamic pressure difference in straight outlet | |
| SI.Pressure | dq_branching | Dynamic pressure difference in branching outlet | |
| Medium.AbsolutePressure | p_in | Medium.pressure(inlet.state) | Inlet pressure |
| SI.Velocity | c_in | Inlet velocity | |
| Medium.SpecificEnthalpy | h_in | Medium.specificEnthalpy(inlet.state) | Inlet enthalpy |
| Medium.MassFraction[Medium.nXi] | Xi_in | Medium.massFraction(inlet.state) | Inlet mass fractions |
| Medium.AbsolutePressure | p_straight | Outlet A pressure | |
| SI.Velocity | c_straight | Outlet A velocity | |
| Medium.AbsolutePressure | p_branching | Outlet B pressure | |
| SI.Velocity | c_branching | Outlet B velocity | |
| Medium.SpecificEnthalpy | h_out | Outlet enthalpy | |
| Medium.MassFraction[Medium.nXi] | Xi_out | Outlet mass fractions | |
| SI.Pressure | dp_straight | Static pressure difference in straight outlet | |
| SI.Pressure | dp_branching | Static pressure difference in branching outlet | |
| SI.Pressure | r_mix |
Contents
| Name | Description |
|---|---|
| Medium | Medium model |