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

Online Help

All Products    Maple    MapleSim


Pump

Pump to produce the water flow

 

Description

Equations

Variables

Connections

Parameters

See Also

Description

The Pump component models is used to produce the water flow for the lumped thermal fluid simulation of Water. This component calculates mainly the mass flow rate.

Equations

The calculation is changed based on parameter values of Dynamics of mass in the Water Settings component.

The head and pressure difference are calculated with:

head=minww__max,1.02`MapleSim.Interpolate1D`data,Q_targetminww__max,1.0

head = dp`inStream``port_a.rho`g

(*) `MapleSim.Interpolate1D` is the function of Lookup table of 1D.

(*) data is specified with:

     - If data_source = inline, parameter H-Q curve.

     - If data_source = attachment, an attached file (.csv and .xls, .xlsx) is used

     - If data_source = file, need to specify the path of file (.csv and .xls, .xlsx).

 

Dynamics of mass = Static

Volume flow rate is calculated with:

Q__target=Q

Q=Q__inExternal input of Designed Volume flow rate=trueQ__designedothers

Port's mass flow rate is defined with:

`port_b.mflow`=mflow

Dynamics of mass = Dynamic

Volume flow rate is calculated with:

ⅆQⅆt=maxQ__target,0.0QT__const

mflow=`inStream``port_a.rho`Q;

Port's mass flow rate is defined with:

`port_a.mflow`=mflow` port_b.mflow`=mflow

 

Common definitions are the following:

dp=`port_a.p`+`port_b.p`

v=QA

`port_a.mflow`=mflow

`port_b.mflow`=mflow

`port_a.hflow`=inStream`port_b.hflow`

`port_b.hflow`=inStream`port_a.hflow`

`port_a.rho`=inStream`port_b.rho`

`port_b.rho`=inStream`port_a.rho`

`port_a.T`=inStream`port_b.T`

`port_b.T`=inStream`port_a.T`

 

Variables

Symbol

Units

Description

Modelica ID

head

m

Head

head

dp

Pa

Pressure difference

p

mflow

kgs

Mass flow rate

mflow

v

ms

Velocity of flow

v

Q

m3s

Volume flow rate

Q

Q__target

m3s

Targeted volume flow rate

Q_target

Connections

Name

Units

Condition

Description

Modelica ID

port__a

 

Water Port

port_a

port__b

 

Water Port

port_b

w

rads

 

Pump speed

w

Q__in

If External input of Designed volume flow rate is true

Designed volume flow rate input.

Qin

Parameters

Symbol

Default

Units

Description

Modelica ID

Watersimulationsettings 

WaterSettings1

Specify a component of Water simulation settings

Settings

w__max

200

rads

Maximum pump speed

w_max

A

Pi10000

Flow area

A

data source__HQ

inline

-

See Data Source Options section above.

HQ_datasourcemode

HQ curve

022130021115020.50.011917517.5160150.021173009

H-Q characteristic curve, if data source__HQ = inline.

[1] :Volume flow rate

[2] :Head

 

HQ_curve

HQ data

2

-

H-Q characteristic curve, if data source__HQ =file or attachment. You can specify data by using an attached file or specifying the path of file (.csv and .xls, .xlsx)

HQ_data

columns__HQ

2

-

Determines which columns of the data table will be used to interpolate.

For example, in an Excel spreadsheet, column A corresponds with 1, column B corresponds with 2, and so on.

HQ_columns

skip rows__HQ

0

-

Number of rows that are skipped from the top of the data table.

HQ_skiprows

smoothness__HQ

Table points are linearly interpolated

-

Determines whether the data points will be interpolated linearly or with a cubic spline.

HQ_smoothness

T__const

0.001

s

Time constant for Volume flow rate if Dynamics of mass is Dynamic.

T_const

Q__designed

0.1

m3s

use as Designed volume flow rate if Dynamics of mass is Static and External input of Designed volume flow rate is false.

Q_designed

Externalinput ofDesignedVolumeflow rate

false

If External input of Designed volume flow rate is false, input port Q__in is used as the designed volume flow rate.

useExtQ_designed

See Also

Heat Transfer Library Overview

Water Overview

Water Basic Overview