modelTestPressDrop

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

Information

This test model demonstrate four possible ways of setting the friction coefficient for the PressDrop model.
  1. The friction factor coefficient can be specified directly, by setting FFtype=0 and the appropriate value to Kf.
  2. The friction factor needed to obtain certain conditions can be set by initial equations. In this case, FFtype=0, and Kf=Kf_unknown, with Kf_unknown having a fixed=false attribute. The latter parameter is then determined by an initial equation (e.g. by assigning the initial mass flow rate).
  3. The friction factor can be specified by setting FFtype=1, and then by assigning the nominal pressure drop dpnom corresponding to the nominal flow rate wnom and to the nominal density rhonom.
  4. The pressure drop can be specified as a given multiple of the kinetic pressure, by setting FFtype=2 and assigning the multiplicative coefficient K.

Parameters

TypeNameDefaultDescription
RealKf_unknown

Components

TypeNameDefaultDescription
Water.SourcePressureSourceP1
Water.SinkPressureSinkP1
Water.SourcePressureSourceP3
Water.SinkPressureSinkP3
Water.PressDropPressDrop3a
Water.PressDropPressDrop3b
Water.SourcePressureSourceP4
Water.SinkPressureSinkP4
Water.PressDropPressDrop4a
Water.PressDropPressDrop4b
Water.SourcePressureSourceP2
Water.SinkPressureSinkP2
Water.PressDropPressDrop2a
Water.PressDropPressDrop2b
Water.PressDropPressDrop1a
Water.PressDropPressDrop1b
Systemsystem

Contents

NameDescription
Medium

Revisions