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 : Basic : ModelonHydraulics/HydraulicResistance/Basic/GenericValve

MapleSim Hydraulics Library from Modelon

Generic Valve  Basic model for generic valve

The Generic Valve component calculates the pressure loss for a given valve geometry (selected by the user). The calculation depends on the opening of the valve.

 

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

mflowA=Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_MFLOWIN_con=IN_con,IN_var=IN_var,Δp=Δp

pAabs=pA+patmoil

pAlimited=maxpA,pvapouroilpatmoil

pBabs=pB+patmoil

pBlimited=maxpB,pvapouroilpatmoil

mflowA+mflowB=0

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

η

[2]

Pas

Upstream dynamic viscosity

eta

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

[2] Modelica.Media.Air.MoistAir.Utilities.spliceFunctionx=Δp,pos=oil.dynamicViscosityp=pAabs,T=T,vair=oil.vgas,psat=psat,neg=oil.dynamicViscosityp=pBabs,T=T,vair=oil.vgas,psat=psat,Δx=100

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

opening

 

opening

Parameters

General Parameters

Name

Default

Units

Description

Modelica ID

&Delta;Tsystem

0

K

Temperature offset from system temperature

dT_system

Hydraulic Resistance Parameters

Name

Default

Units

Description

Modelica ID

geometry

[1]

 

Choice of geometry for valve

geometry

valve coefficient

[2]

 

Choice of valve coefficient

valveCoefficient

Av

[3]

 

Av (metric) flow coefficient [Av]=m^2

Av

Kv

10000000277Av

 

Kv (metric) flow coefficient [Kv]=m^3/h

Kv

Cv

5000000123Av

 

Cv (US) flow coefficient [Cv]=USG/min

Cv

&Delta;pnominal

1000

Pa

Nominal pressure loss

dp_nominal

mflownom

[4]

kgs

Nominal mass flow rate

m_flow_nominal

ρnominal

1000

kgm3

Nominal inlet density

rho_nominal

openingnominal

12

 

Nominal opening

opening_nominal

ζtotmin

0.001

 

Minimal pressure loss coefficient at full opening

zeta_TOT_min

ζtotmax

108

 

Maximum pressure loss coefficient at closed opening

zeta_TOT_max

&Delta;psmall

1100&Delta;pnominal

Pa

Linearisation for a pressure loss smaller then dp_small

dp_small

[1] Modelica.Fluid.Dissipation.Utilities.Types.ValveGeometry.Ball

[2] Modelica.Fluid.Dissipation.Utilities.Types.ValveCoefficient.AV

[3] 1400π

[4] openingnominalAvρnominal&Delta;pnominal

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