modelTestGasPressDrop

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

Information

This model tests the PressDrop, PressDropLin and Valve models, testing various conditions, such as different friction coefficients in PressDrop and different flow coefficients in Valve, by setting the FFtype and CvData respectively on different value. Reverse flow conditions are also tested.

Simulate for 10 seconds. At time t=2 the valve is partially closed.

Components

TypeNameDefaultDescription
IdealGas.SourcePressureSourceP1
Modelica.Blocks.Sources.StepStep1
IdealGas.PressDropLinPressDropLin1
IdealGas.SinkPressureSinkP1
IdealGas.PressDropPressDrop1
IdealGas.ValveValve1
Modelica.Blocks.Sources.SineSine1
IdealGas.SourcePressureSourceP2
Modelica.Blocks.Sources.StepStep2
IdealGas.PressDropLinPressDropLin2
IdealGas.SinkPressureSinkP2
IdealGas.PressDropPressDrop2
IdealGas.ValveValve2
Modelica.Blocks.Sources.SineSine2
Systemsystem

Contents

NameDescription
Medium