modelpartialSplitterY

Duplicate of SplitterM considering dynamic effects

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]

HTWG Konstanz

Parameters

TypeNameDefaultDescription
Advanced
ThermofluidStream.Utilities.Units.InertanceLdropOfCommons.LInertance

Components

TypeNameDefaultDescription
ThermofluidStream.Interfaces.InletinletInlet
ThermofluidStream.Interfaces.Outletoutlet_straightStraight outlet
ThermofluidStream.Interfaces.Outletoutlet_branchingBranching outlet
SI.Pressuredq_straightDynamic pressure difference in straight outlet
SI.Pressuredq_branchingDynamic pressure difference in branching outlet
Medium.AbsolutePressurep_inMedium.pressure(inlet.state)Inlet pressure
SI.Velocityc_inInlet velocity
Medium.SpecificEnthalpyh_inMedium.specificEnthalpy(inlet.state)Inlet enthalpy
Medium.MassFraction[Medium.nXi]Xi_inMedium.massFraction(inlet.state)Inlet mass fractions
Medium.AbsolutePressurep_straightOutlet A pressure
SI.Velocityc_straightOutlet A velocity
Medium.AbsolutePressurep_branchingOutlet B pressure
SI.Velocityc_branchingOutlet B velocity
Medium.SpecificEnthalpyh_outOutlet enthalpy
Medium.MassFraction[Medium.nXi]Xi_outOutlet mass fractions
SI.Pressuredp_straightStatic pressure difference in straight outlet
SI.Pressuredp_branchingStatic pressure difference in branching outlet
SI.Pressurer_mix

Contents

NameDescription
MediumMedium model