Package HydraulicsByFluidon.​Components.​Lines
Icon for standard packages

Information

Standard package icon.

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Contents

NameDescription
Base 
BendBend
ElbowElbow
ExpansionContractionSudden Expansion / Contraction
Hose 
Pipe 
PipeWithoutCapacity 

Model HydraulicsByFluidon.​Components.​Lines.​PipeWithoutCapacity

Information

Pipe model with resistive and inductive properties.

The pressure drop calculation is based on the assumption of quasi-steady friction. For turbulent flow through hydraulically rough pipes, the relative surface roughness (relRoughness) is taken into account. Geodetic pressure offset due to height differences between the pipe ports is considered in the simulation. The height difference deltaH is measured as the vertical distance between port B and port A of the pipe.

The calculated inductance depends on the flow regime (laminar or turbulent). The laminar inductance exceeds the turbulent one by a factor of 4/3.

If the parameter flowInitialization is activated, the initial mass flow rate will be calculated based on the potential difference between the two ports. If the check mark is not set, the initial flow rate will be zero even if a potential difference is present.

Please note: almost in every case it is necessary to add volumes at both ports.

Extends from HydraulicsByFluidon.​Components.​Base.​HydTwoPortVertical.

Parameters

TypeNameDefaultDescription
Lengthdiameter0.032inner diameter
Lengthlength1pipe length
LengthdeltaH0height difference
DimensionlessRatiorelRoughness1e-6inner surface relative roughness
BooleanforwardFluidPropertiestrueForward fluid properties between ports

Connectors

TypeNameDescription
FluidPortfluidPortAHydraulic port A
FluidPortfluidPortBHydraulic port B

Model HydraulicsByFluidon.​Components.​Lines.​Pipe

Information

Pipe model with resistive, capacitive and inductive properties. Depending on pipe length, the Highest frequency to be covered and the Lowest speed of sound to be expected during the simulation, the pipe model is subdivided into several sub-pipes (inductive & resistive properties) and volumes (capacitive properties). Estimation of the required number of pipes is based on the following equation:

Irrespective of the parameterisation, at least two sub-pipes and one intermediate volume will be created. The total volume of the pipe is distributed equally over the individual volumes

The pressure drop calculation is based on the assumption of quasi-steady friction. For turbulent flow through hydraulically rough pipes, the relative surface roughness (relRoughness) is taken into account. Geodetic pressure offset due to height differences between the pipe ports is considered in the simulation. height difference between the ports B and A is measured as the vertical distance between port B and port A of the pipe.

The calculated inductance depends on the flow regime (laminar or turbulent). The laminar inductance exceeds the turbulent one by a factor of 4/3.

If the parameter Initialization of flow rate is activated, the mass flow rate will be initialized based on the potential difference between the two ports. If the check mark is not set, the initial flow rate will be zero even if a potential difference is present.

Parameters

TypeNameDefaultDescription
Lengthdiameter0.032inner diameter
Lengthlength1pipe length
LengthdeltaH0height difference between the ports B and A
DimensionlessRatiorelRoughness1e-6inner surface relative roughness
BooleanflowInitialisationtrueInitialization of flow rate
FrequencyfMax10Highest frequency to be covered
VelocitycMin1000Lowest speed of sound to be expected
BooleanforwardFluidPropertiestrueForward fluid properties between ports
TFluidPortpropertyPortTFluidPort.​portAProperty determining port if forwardFluidProperties = false

Connectors

TypeNameDescription
FluidPortfluidPortAHydraulic port A
FluidPortfluidPortBHydraulic port B

Model HydraulicsByFluidon.​Components.​Lines.​Hose

Information

Hose model with resistive, capacitive and inductive properties. Depending on hose length, the Highest frequency to be covered and the Lowest speed of sound to be expected during the simulation, the hose model is subdivided into several sub-pipes (inductive & resistive properties) and volumes (capacitive properties). Estimation of the required number of pipes is based on the following equation:

Irrespective of the parameterisation, at least two sub-pipes and one intermediate volume will be created. The total volume of the hose is distributed equally over the individual volumes

The pressure drop calculation is based on the assumption of quasi-steady friction. For turbulent flow through hydraulically rough pipes, the relative surface roughness (relRoughness) is taken into account. Geodetic pressure offset due to height differences between the hose ports is considered in the simulation. height difference between the ports B and A is measured as the vertical distance between port B and port A of the hose.

The calculated inductance depends on the flow regime (laminar or turbulent). The laminar inductance exceeds the turbulent one by a factor of 4/3.

If the parameter Initialization of flow rate is activated, the mass flow rate will be initialized based on the potential difference between the two ports. If the check mark is not set, the initial flow rate will be zero even if a potential difference is present.

Parameters

TypeNameDefaultDescription
Lengthdiameter0.032Inner diameter
Lengthlength1Hose length
LengthdeltaH0Height difference between the ports B and A
DimensionlessRatiorelRoughness1e-6Inner surface relative roughness
BulkModulusbulkModulus1e+9Bulk modulus of hose
BooleanflowInitialisationtrueInitialization of flow rate
FrequencyfMax10Highest frequency to be covered
VelocitycMin1000Lowest speed of sound to be expected
BooleanforwardFluidPropertiestrueForward fluid properties between ports
TFluidPortpropertyPortTFluidPort.​portAProperty determining port if forwardFluidProperties = false

Connectors

TypeNameDescription
FluidPortfluidPortAHydraulic port A
FluidPortfluidPortBHydraulic port B

Model HydraulicsByFluidon.​Components.​Lines.​Bend
Bend

Information

The component Bend is a valid model for Bend angle between 15° and 180°.

Please consider: The component was modeled in order to consider the pressure losses of well rounded bends. However, the use of the component can lead to extremely long simulation times, since a small stepsize must be selected due to the low resistance of an elbow.

Formulas are taken from W. Wagner, Strömung und Druckverlust, 7. Auflage 2012.

Parameters

TypeNameDefaultDescription
LengthDiameter0.032Diameter
AngleBendAngle0.5 * Modelica.Constants.piBend angle
LengthBendRadius0.1Bend radius
DimensionlessRatiorelRoughness1e-6Relative roughness
VolumedeadVolume1e-6Dead volume at ports
BooleanforwardFluidPropertiestrueForward fluid properties between ports
BooleanenableZetaOutputfalseEnable zeta output
BooleanenableReOutputfalseEnable Re output

Connectors

TypeNameDescription
FluidPortfluidPortAHydraulic port A
FluidPortfluidPortBHydraulic port B
output RealOutputZetaZeta
output RealOutputReRe

Model HydraulicsByFluidon.​Components.​Lines.​Elbow
Elbow

Information

The component Elbow is a valid model for Elbow angle between 30° and 120°.

Please consider: The component was modeled in order to consider the pressure losses of sharp edged elbows. However, the use of the component can lead to extremely long simulation times, since a small stepsize must be selected due to the low resistance of an elbow.

Formulas are taken from W. Wagner, Strömung und Druckverlust, 7. Auflage 2012, and Will, D., Hydraulik, Grundlagen, Komponenten, Schaltungen, 5. Auflage 2011.

Parameters

TypeNameDefaultDescription
LengthDiameter0.032Diameter
AngleAngle0.5 * Modelica.Constants.piElbow angle
VolumedeadVolume1e-6Dead volume at ports
BooleanforwardFluidPropertiestrueForward fluid properties between ports
BooleanenableZetaOutputfalseEnable zeta output
BooleanenableReOutputfalseEnable Re output

Connectors

TypeNameDescription
output RealOutputZetaZeta
output RealOutputReRe
FluidPortfluidPortAHydraulic port A
FluidPortfluidPortBHydraulic port B

Model HydraulicsByFluidon.​Components.​Lines.​ExpansionContraction
Sudden Expansion / Contraction

Information

The component ExpansionContraction is a model of a cross section enlargement (diffusor) or a cross section reduction (nozzle). It depends on the flow direction.

The component computes the loss number zeta

according to the following equations:

Borda-Carnot Equation

Formulas are taken from E. Truckenbrodt, Fluidmechanik, Band 1: Grundlagen und elementare Strömungsvorgänge dichtebeständiger Fluide, 4. Auflage, 2008.

Extends from HydraulicsByFluidon.​Components.​Base.​HydTwoPortVerticalExt.

Parameters

TypeNameDefaultDescription
LengthD10.016Diameter 1
LengthD20.05Diameter 2
VolumedeadVolume1e-6Dead volume at ports
BooleanforwardFluidPropertiestrueForward fluid properties between ports

Connectors

TypeNameDescription
FluidPortfluidPortAHydraulic port A
FluidPortfluidPortBHydraulic port B