modelLine

Short line with one volume and wall friction

Extends from OpenHydraulics.Interfaces.PartialFluidComponent (Base model for any component involving fluid).

Information

Simple pipe model consisting of one volume, wall friction (with different friction correlations) and gravity effect. This model is mostly used to demonstrate how to build up more detailed models from the basic components. Note, if the "thermalPort" is not connected, then the pipe is totally insulated (= no thermal flow from the fluid to the pipe wall/environment).

Parameters

TypeNameDefaultDescription
Sizing
SI.LengthLLength of line
SI.DiameterDInner (hydraulic) diameter of line
SI.Lengthroughness2.5e-5Absolute roughness of pipe (default = smooth steel pipe)
SI.BulkModuluslineBulkMod1e7Bulk Modulus of the line
Initialization
BooleanuniformPressuretrueTrue if initial pressure is equal throughout line
Initialization › Fluid
SI.AbsolutePressurep_init (from PartialFluidComponent)environment.p_ambientInitial temperature of the component

Connectors

TypeNameDefaultDescription
OpenHydraulics.Interfaces.FluidPortport_a
OpenHydraulics.Interfaces.FluidPortport_b

Components

TypeNameDefaultDescription
Basic.WallFrictionwallFriction_a
Basic.VolumeClosedvolumeMiddle
Basic.WallFrictionwallFriction_b
OpenHydraulics.Fluids.BaseClasses.PartialFluidoil (from PartialFluidComponent)This model must be defined in each circuit; the type must be a subtype of PartialFluid
Basic.VolumeClosedvolumeA
Basic.VolumeClosedvolumeB