modelPartialStraightPipe

Base class for straight pipe models

Extends from LibRAS.Interfaces.PartialTwoPort.

Information

Base class for one dimensional flow models. It specializes a PartialTwoPort with a parameter interface and icon graphics.

Parameters

TypeNameDefaultDescription
SI.VolumeVcrossArea*length*nParallelvolume size
Geometry
RealnParallel1Number of identical parallel pipes
SI.DiameterdiameterDiameter of circular pipe
SI.Heightroughness2.5e-5Average height of surface asperities (default: smooth steel pipe)
General › Geometry
SI.LengthlengthLength
BooleanisCirculartrue= true if cross sectional area is circular
SI.AreacrossAreaModelica.Constants.pi*diameter*diameter/4Inner cross section area
SI.LengthperimeterModelica.Constants.pi*diameterInner perimeter
Static head
SI.Lengthheight_ab0Height(port_b) - Height(port_a)

Contents

NameDescription
FlowModel