This is the base model for fans and pumps. It provides an interface between the equations that compute head and power consumption, and the implementation of the energy and pressure balance of the fluid.
Optionally, the fluid volume is computed using a dynamic balance or a steady-state balance.
The parameter addPowerToMedium
determines whether
any power is added to the fluid. The default is addPowerToMedium=true
,
and hence the outlet enthalpy is higher than the inlet enthalpy if the
flow device is operating.
The setting addPowerToMedium=false
is physically incorrect
(since the flow work, the flow friction and the fan heat do not increase
the enthalpy of the medium), but this setting does in some cases lead to simpler equations
and more robust simulation, in particular if the mass flow is equal to zero.
min
attribute as otherwise numerical noise can cause
the assertion on the limit to fail.VMachine_flow
to avoid a warning in
Annex60.Fluid.Movers.Examples.MoverContinuous.
Extractor
protected so that it can be removed later
with a backwards compatible change.
dp
and m_flow
when having
compressible flow.
This is for
#458.
dynamicBalance
.
This is for
#411.
showDesignFlowDirection
in extends
statement.
This is for
#349.
Removed assignment of min
and max
attributes
of the port mass flow rate as this is already done in the base class.
Removed import
statement.
m_flow_small
of instance vol
and made
all its parameters final.