modelTestValveChoked

Test case for valves in choked flow

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model tests the transition from normal to choked flow for the ValveLiq and ValveVap models.

Simulate the model for 4 s and observe the flowrate through the two valves.

Components

TypeNameDefaultDescription
ThermoPower.Water.SourcePressureSourceP1
ThermoPower.Water.SinkPressureSinkP1
ThermoPower.Water.ValveLiqChokedValveLiqChocked
Modelica.Blocks.Sources.SineSine1
ThermoPower.Water.SourcePressureSourceP2
ThermoPower.Water.SinkPressureSinkP2
ThermoPower.Water.ValveVapValveVap
Modelica.Blocks.Sources.SineSine2
Systemsystem

Revisions