MapleSim Hydraulics Library from Modelon - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim Toolboxes : MapleSim Hydraulics Library from Modelon : Hydraulic Resistance : ModelonHydraulics/HydraulicResistance/StraightPipe

MapleSim Hydraulics Library from Modelon

Straight Pipe  Model for straight pipe geometry

The Straight Pipe component calculates the pressure loss for a straight pipe in either the laminar or turbulent flow regimes. The type of flow depends on the state of the fluid and the parameter settings (for example, roughness).

 

Equations

Variables

Connections

Parameters

Equations

ν=Modelica.Media.Air.MoistAir.Utilities.spliceFunctionx=Δp,pos=νoilp=pAabs,T=T,vair=vgasoil,psat=psat,neg=νoilp=pBabs,T=T,vair=vgasoil,psat=psat,Δx=100

ρ=Modelica.Media.Air.MoistAir.Utilities.spliceFunctionx=Δp,pos=ρoilp=pAabs,T=T,vair=vgasoil,psat=psat,neg=ρoilp=pBabs,T=T,vair=vgasoil,psat=psat,Δx=100

T=T0oil+ΔTsystem

q=mflowAρ

Δp=pAlimitedpBlimited

pAabs=pA+patmoil

pAlimited=maxpA,pvapouroilpatmoil

pBabs=pB+patmoil

pBlimited=maxpB,pvapouroilpatmoil

Variables

Name

Value

Units

Description

Modelica ID

Δp

 

Pa

Pressure drop

dp

q

 

m3s

Flow rate flowing into port_A

q

pAlimited

 

Pa

Limited gauge pressure

pA_limited

pBlimited

 

Pa

Limited gauge pressure

pB_limited

ρ

 

kgm3

Upstream density

rho

ν

 

m2s

Upstream kinematic viscosity

nu

pAabs

 

Pa

Absolute pressure pA

pA_abs

pBabs

 

Pa

Absolute pressure pB

pB_abs

T

 

K

Local temperature

T

pAsummary

pA

Pa

Pressure at port A

summary_pA

pBsummary

pB

Pa

Pressure at port B

summary_pB

Δpsummary

Δp

Pa

Pressure drop

summary_dp

qsummary

q

m3s

Flow rate flowing into port_A

summary_q

Phydsummary

Δpq

W

Hydraulic Power

summary_HP

psat

[1]

Pa

Gas saturation pressure

p_sat

VA

 

 

 

VolumeA

VB

 

 

 

VolumeB

straightPipe

 

 

 

straightPipe

[1] oil.gasSaturationPressureT=T,vgas=oil.vgas

Connections

Name

Description

Modelica ID

portA

Layout of port where oil flows into an element (0<mflow, pB<pA means 0<&Delta;p)

port_A

portB

Hydraulic port where oil leaves the component (mflow<0, pB<pA means 0<&Delta;p)

port_B

oil

 

oil

Parameters

General Parameters

Name

Default

Units

Description

Modelica ID

&Delta;Tsystem

0

K

Temperature offset from system temperature

dT_system

use volume A

true

 

If true, a volume is present at port_A

useVolumeA

use volume B

true

 

If true, a volume is present at port_B

useVolumeB

VA

10-6

m3

Geometric volume at port A

volumeA

VB

10-6

m3

Geometric volume at port B

volumeB

Hydraulic Resistance Parameters

Name

Default

Units

Description

Modelica ID

dhyd

110

m

Hydraulic diameter

d_hyd

L

1

m

Length

L

roughness

[1]

 

Choice of considering surface roughness

roughness

K

0

m

Roughness (average height of surface asperities)

K

[1] Modelica.Fluid.Dissipation.Utilities.Types.Roughness.Neglected

See Also

HydraulicResistance

MapleSim Hydraulics Library from Modelon Overview

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam