modelPipe

Parameters

TypeNameDefaultDescription
Modelica.SIunits.LengthDPipe diameter
Modelica.SIunits.LengthLPipe length
Modelica.SIunits.PerUnitcf0.005Fanning friction factor
Types.VelocityunomNominal air speed
Modelica.SIunits.PerUnitdelta0.1Fraction of nominal velocity for friction regularization
Types.RelativePressurepstart0start value for relative pressure p
Modelica.SIunits.PerUnitpiModelica.Constants.pi
Modelica.SIunits.AreaApi*D^2/4Pipe cross-sectional surface
Modelica.SIunits.VolumeVA*L
Modelica.SIunits.Lengthomegapi*DWet perimeter
Modelica.SIunits.LengthlL/2Length of a single finite vol.

Connectors

TypeNameDefaultDescription
Interfaces.PneumaticPort_ainlet
Interfaces.PneumaticPort_boutlet

Components

TypeNameDefaultDescription
Media.AirAdiabaticair
Types.MassFlowRatewinEntering flow rate
Types.MassFlowRatewoutLeaving flow rate
Types.VelocityuinEntering fluid speed
Types.VelocityuoutLeaving fluid velocity
Types.RelativePressurepinEntering relative pressure
Types.RelativePressurepoutLeaving relative pressure
Types.RelativePressuredpinPressure loss, inlet side
Types.RelativePressuredpoutPressure loss, outlet side
Types.RelativePressuredpPressure loss, total
Types.VelocitySquareduin2Regularized squared inlet velocity
Types.VelocitySquareduout2Regularized squared inlet velocity
Types.RelativePressurepRelative pressure at the middle of the pipe
Modelica.SIunits.MassMMass of fluid in the pipe

Contents

NameDescription
regSquareprotected