modelValveZeroFlow2

Test case for valves with zero flowrate

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

Information

This model tests the ValveLiq model with small or zero flow and the Tank model.

Simulate for 20 s. After 10 s the flowrate goes to zero, as the two levels become equal.

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.StepCmd1
ThermoPower.Water.TankTank1
ThermoPower.Water.TankTank2
ThermoPower.Water.ValveLiqValve
ThermoPower.Water.SourceMassFlowSourceW1
ThermoPower.Water.SinkMassFlowSinkW1
Systemsystem

Revisions