Pump
Pump to produce the water flow
Description
Equations
Variables
Connections
Parameters
See Also
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.
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
ⅆQⅆt=maxQ__target,0.0−QT__const
mflow=`inStream``port_a.rho`⋅Q;
`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_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`
Symbol
Units
Modelica ID
head
m
Head
dp
Pa
Pressure difference
p
mflow
kgs
Mass flow rate
v
ms
Velocity of flow
Q
m3s
Volume flow rate
Q__target
Targeted volume flow rate
Q_target
Name
Condition
port__a
Water Port
port_a
port__b
port_b
w
rads
Pump speed
Q__in
If External input of Designed volume flow rate is true
Designed volume flow rate input.
Qin
Default
Watersimulationsettings
WaterSettings1
−
Specify a component of Water simulation settings
Settings
w__max
200
Maximum pump speed
w_max
A
Pi10000
Flow area
data source__HQ
inline
-
See Data Source Options section above.
HQ_datasourcemode
H−Q curve
022130021115020.50.011917517.5160150.021173009
H-Q characteristic curve, if data source__HQ = inline.
[1] :Volume flow rate
[2] :Head
HQ_curve
H−Q 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
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
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
Heat Transfer Library Overview
Water Overview
Water Basic Overview
Download Help Document