modelTestGasPressDrop

Diagram of TestGasPressDrop

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
Gas.SourcePressureSourceP1
Modelica.Blocks.Sources.StepStep1
Gas.PressDropLinPressDropLin1
Gas.SinkPressureSinkP1
Gas.PressDropPressDrop1
Gas.ValveValve1
Modelica.Blocks.Sources.SineSine1
Gas.SourcePressureSourceP2
Modelica.Blocks.Sources.StepStep2
Gas.PressDropLinPressDropLin2
Gas.SinkPressureSinkP2
Gas.PressDropPressDrop2
Gas.ValveValve2
Modelica.Blocks.Sources.SineSine2
Systemsystem

Contents

NameDescription
Medium