modelSpeedControlled_y_pumpCurves

Pumps that illustrates the use of the pump curves

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example demonstrates how the pump curves changes for different (constant) input signal y. If y ≥ delta = 0.05, the pump curves are polynomials. For y < delta = 0.05, the pump curves convert to linear functions to avoid a singularity at the origin.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flow_nominal0.5Nominal mass flow rate
Modelica.Units.SI.PressureDifferencedp_nominal10000Nominal pressure

Components

TypeNameDefaultDescription
pumpModelpumPump
pumpModelpum1Pump
pumpModelpum2Pump
pumpModelpum3Pump
Modelica.Blocks.Sources.RampyInput signal
AixLib.Fluid.Sources.Boundary_pTsou
AixLib.Fluid.Sources.Boundary_pTsou1
AixLib.Fluid.Actuators.Valves.TwoWayLineardp1Pressure drop
AixLib.Fluid.Actuators.Valves.TwoWayLineardp2Pressure drop
AixLib.Fluid.Actuators.Valves.TwoWayLineardp3Pressure drop
AixLib.Fluid.Actuators.Valves.TwoWayLineardp4Pressure drop

Contents

NameDescription
MediumMedium model
pumpModelDeclaration of pump model

Revisions

  • December 2, 2016, by Michael Wetter:
    Changed the valve opening signal to not take on zero as otherwise pum.port_a.p is negative, violating the min attribute on the pressure variable.
    This is for #606.
  • March 11, 2016, by Michael Wetter:
    Reformulated model for OpenModelica.
  • January 22, 2016, by Michael Wetter:
    Corrected type declaration of pressure difference. This is for #404.
  • June 14, 2015, by Filip Jorissen:
    Set constant speed for pump using a parameter instead of a realInput.
  • March 24 2010, by Michael Wetter:
    First implementation.