IdealPump

Model of an ideal pump

    IdealPump

Library

Modelica/Thermal/FluidHeatFlow/Sources

Description

Simple fan resp. pump where characteristic is dependent on shaft's speed,
torque * speed = pressure increase * volume flow (without losses)
Pressure increase versus volume flow is defined by a linear function,from dp0(V_flow=0) to V_flow0(dp=0).
The axis intersections vary with speed as follows:

  • dp prop. speed^2
  • V_flow prop. speed

Coolant's temperature and enthalpy flow are not affected.
Setting parameter m (mass of medium within fan/pump) to zeroleads to neglection of temperature transient cv*m*der(T).
Thermodynamic equations are defined by Partials.TwoPort.

Parameters

IdealPump_0

NameLabelDescriptionData TypeValid Values

mo_medium

medium

Medium in the component

FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Medium')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Air_30degC')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Air_70degC')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.MineralOil')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Water')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Gylcol20_20degC')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Gylcol50_20degC')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Water_10degC')
FromModelica('Modelica.Thermal.FluidHeatFlow.Media.Water_90degC')

mo_m

m

Mass of medium

Scalar

mo_T0

T0

Initial temperature of medium

Scalar

mo_T0fixed

T0fixed

Initial temperature guess value or fixed

Scalar

true
false

mo_tapT

tapT

Defines temperature of heatPort between inlet and outlet temperature

Scalar

mo_V_flow

V_flow

V_flow

Structure

mo_V_flow/fixed

fixed

Cell of scalars

true
false

mo_V_flow/start

start

Cell of scalars

mo_T

T

T

Structure

mo_T/fixed

fixed

Cell of scalars

true
false

mo_T/start

start

Cell of scalars

mo_T_a

T_a

T_a

Structure

mo_T_a/fixed

fixed

Cell of scalars

true
false

mo_T_a/start

start

Cell of scalars

mo_T_b

T_b

T_b

Structure

mo_T_b/fixed

fixed

Cell of scalars

true
false

mo_T_b/start

start

Cell of scalars

mo_T_q

T_q

T_q

Structure

mo_T_q/fixed

fixed

Cell of scalars

true
false

mo_T_q/start

start

Cell of scalars

mo_h

h

h

Structure

mo_h/fixed

fixed

Cell of scalars

true
false

mo_h/start

start

Cell of scalars

mo_wNominal

wNominal

Nominal speed

Scalar

mo_dp0

dp0

Max. pressure increase @ V_flow=0

Scalar

mo_V_flow0

V_flow0

Max. volume flow rate @ dp=0

Scalar

IdealPump_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'dp'
'Q_flow'
'dT'
'w'
'dp1'
'V_flow1'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

flowPort_a

implicit

output

1

flowPort_b

implicit

output

2

flange_a

implicit

input

1

See Also