modelTeeJunctionVolumeLoss
Extends from TRANSFORM.Icons.Example (Icon for runnable examples).
Information
Unit test for
TeeJunctionVolumeLoss.
A constant 0.05 kg/s of air enters the run inlet (port_1) and divides between the straight run
(port_2 → a downstream resistance → ambient) and a 90° branch (port_3,
0.025 m) whose draw-off is ramped so the branch flow ratio Qr sweeps from 0 to 0.8. This exercises the
angle- and flow-ratio-dependent Crane branch and run loss coefficients (tee.K_branch,
tee.K_run) over their range.
The branch split is imposed (rather than left to equal-pressure outlets, which would over-constrain the split with the tee as the only resistance), and a downstream resistance is placed on the run leg so the volume pressure is not pinned directly to an ideal boundary – representative of normal network usage.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.System | system | ||
| TRANSFORM.Fluid.SystemTF | systemTF | ||
| TRANSFORM.Fluid.FittingsAndResistances.TeeJunctionVolumeLoss | tee | 90 deg tee, 0.05 m run, 0.025 m branch | |
| Modelica.Fluid.Sources.MassFlowSource_T | IN1 | Constant 0.05 kg/s combined inlet | |
| TRANSFORM.Fluid.FittingsAndResistances.SpecifiedResistance | R_run | Downstream run resistance (sets a well-posed network / avoids pinning) | |
| Modelica.Fluid.Sources.FixedBoundary | OUT2 | Run outlet | |
| Modelica.Fluid.Sources.MassFlowSource_T | BRANCH | Imposes the branch draw-off (sweeps the flow ratio) | |
| Modelica.Blocks.Sources.Ramp | branch_draw | Branch extraction 0 -> 0.04 kg/s, so the branch flow ratio Qr sweeps 0 -> 0.8 |