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
FluidPh.SourcePressureSourceP1
FluidPh.SinkPressureSinkP1
FluidPh.SourcePressureSourceP3
FluidPh.SinkPressureSinkP3
FluidPh.PressDropPressDrop3a
FluidPh.PressDropPressDrop3b
FluidPh.SourcePressureSourceP4
FluidPh.SinkPressureSinkP4
FluidPh.PressDropPressDrop4a
FluidPh.PressDropPressDrop4b
FluidPh.SourcePressureSourceP2
FluidPh.SinkPressureSinkP2
FluidPh.PressDropPressDrop2a
FluidPh.PressDropPressDrop2b
FluidPh.PressDropPressDrop1a
FluidPh.PressDropPressDrop1b
Systemsystem

Contents

NameDescription
Medium

Revisions