Valve - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Valve

Simple valve

 

Description

Equations

Variables

Connections

Parameters

Modelica Standard Library

Description

The Valve component is a two-port thermal-fluid component that models a simple valve controlled by a real input. A boolean parameter selects one of two characteristics: linear or exponential.

The Medium parameter specifies the name of a Thermal-Fluid Media record, which must be in the model at the same or higer level.

The Use default medium boolean parameter, when true, sets the name of the Medium parameter to fluidMedium1, which corresponds to the default name of a fluid medium record. To use a different name, uncheck the box and enter the name in the parameter input that appears.

Equations

Qflow=fLVflowΔp

Tq=T

h=cpT

KvKv1={kv0+1kv0ylimy1LinearCharacteristickv0explog1kv0ylimy1otherwise

ΔpΔp0=ρρ0VflowKvVflowKv

ylim=maxminy,y1,0

Variables

Name

Units

Description

Modelica ID

Δp

Pa

Pressure drop a->b

dp

Qflow

W

Heat exchange with ambient

Q_flow

ΔT

K

Temperature increase of coolant in flow direction

dT

T

K

Outlet temperature of medium

T

Ta

K

Temperature at flowPort_a

T_a

Tb

K

Temperature at flowPort_b

T_b

Vflow

m3s

Volume flow a->b

V_flow

Connections

Name

Description

Modelica ID

flowPorta

Thermal-Fluid FlowPort

flowPort_a

flowPortb

Thermal-Fluid FlowPort

flowPort_b

y

Real input signal that controls valve

y

Parameters

Name

Default

Units

Description

Modelica ID

fix T0

false

 

True (checked) means T0 is enforced, otherwise it is a guess

T0fixed

fL

0

1

Part of friction losses fed to medium

frictionLoss

Linear Characteristic

true

 

Type of characteristic

LinearCharacteristic

Kv1

1

m3s

Maximum flow at y = y1

Kv1

kv0

0.01

 

Leakage flow / maximum flow at y = 0

kv0

m

0

kg

Mass of medium

m

medium

fluidMedium

 

Thermal-Fluid Media

medium

Δp0

1

Pa

Standard pressure drop

dp0

ρ0

10

kgm3

Standard medium's density

rho0

T0

293.15

K

Initial temperature of medium

T0

y1

1

1

Maximum valve opening

y1

Modelica Standard Library

The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

See Also

Pipes and Valves

Thermal Overview