modelPowerSimplified
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example compares the power consumed by pumps that take three different control signals. Each pump has identical mass flow rate and pressure rise.
Note that for the instances
IBPSA.Fluid.Movers.FlowControlled_dp
and
IBPSA.Fluid.Movers.FlowControlled_m_flow,
we had to assign the efficiencies (otherwise the default constant
efficiency of 0.7 would have been used).
In these models, the power consumption is computed
using similarity laws, but using the mass flow rate as opposed
to the speed, because speed is not known in these two models.
This is an approximation at operating points in which
the speed is different from the nominal speed N_nominal
because similarity laws are valid for speed and not for
mass flow rate.
The figure below shows the approximation error for the power calculation where the speed Nrpm differs from the nominal speed Nnominal.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.MassFlowRate | m_flow_nominal | 3 | Nominal mass flow rate |
| Data.Pumps.Wilo.Stratos30slash1to8 | per | Pump performance data |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| IBPSA.Fluid.Movers.SpeedControlled_Nrpm | pump_Nrpm | Pump with RPM as control signal | |
| IBPSA.Fluid.Movers.FlowControlled_dp | pump_dp | Pump with pressure rise as control signal | |
| IBPSA.Fluid.Movers.FlowControlled_m_flow | pump_m_flow | Pump with mass flow rate as control signal | |
| IBPSA.Fluid.Sources.Boundary_pT | bou | Pressure source | |
| IBPSA.Fluid.FixedResistances.PressureDrop | res | Flow resistance | |
| IBPSA.Fluid.Sources.Boundary_pT | sink | ||
| Modelica.Blocks.Sources.Ramp | ramp | Ramp for pump speed control signal | |
| Modelica.Blocks.Sources.RealExpression | dpSet | Pressure rise across pump | |
| Modelica.Blocks.Sources.RealExpression | m_flowSet | Pump mass flow rate | |
| Modelica.Blocks.Routing.Multiplex3 | result |
Contents
| Name | Description |
|---|---|
| Medium model |
Revisions
-
March 11, 2016, by Michael Wetter:
Revised implementation by assigning the data record directly in the instancespump_dpandpump_m_flow, because using aparameterand assigning thisparameterleads in OpenModelica to the error messageexpected subtype of record IBPSA.Fluid.Movers.Data.Generic. -
March 2, 2016, by Filip Jorissen:
Revised implementation for #417. -
November 5, 2015, by Michael Wetter:
Changed parameters since the power is no longer a parameter for the movers that take mass flow rate or head as an input. This is for issue 457. -
November 22, 2014, by Michael Wetter:
Revised implementation.