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]
| Name | Description |
|---|---|
| Medium model |