WOLFRAM SYSTEM MODELER

PumpingSystem

Model of a pumping system for drinking water

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Fluid.Examples.PumpingSystem"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Water is pumped from a source by a pump (fitted with check valves), through a pipe whose outlet is 50 m higher than the source, into a reservoir. The users are represented by an equivalent valve, connected to the reservoir.

The water controller is a simple on-off controller, regulating on the gauge pressure measured at the base of the tower; the output of the controller is the rotational speed of the pump, which is represented by the output of a first-order system. A small but nonzero rotational speed is used to represent the standby state of the pumps, in order to avoid singularities in the flow characteristic.

When the simulation starts, the level is above the set point, so the initial state of the pump controller is off. Hence, the check valve of the pump is engaged. In order to facilitate the solution of the initialization problem, the homotopyType parameter is set accordingly.

Simulate for 2000 s. When the valve is opened at time t=200, the pump starts turning on and off to keep the reservoir level around 2 meters, which roughly corresponds to a gauge pressure of 200 mbar.

PumpingSystem.png

Parameters (1)

Medium

Replaceable Class

Redeclared as: StandardWaterOnePhase

Components (13)

source

Type: FixedBoundary

Description: Boundary source component

pipe

Type: StaticPipe

Description: Basic pipe flow model without storage of mass or energy

pumps

Type: PrescribedPump

Description: Centrifugal pump with ideally controlled speed

reservoir

Type: OpenTank

Description: Simple tank with inlet/outlet ports

userValve

Type: ValveLinear

Description: Valve for water/steam flows with linear pressure drop

sink

Type: FixedBoundary

Description: Boundary source component

valveOpening

Type: Step

Description: Generate step signal of type Real

RelativePressureSetPoint

Type: Constant

Description: Generate constant signal of type Real

controller

Type: OnOffController

Description: On-off controller

PumpRPMGenerator

Type: TriggeredTrapezoid

Description: Triggered trapezoid generator

reservoirPressure

Type: RelativePressure

Description: Ideal relative pressure sensor

PT1

Type: FirstOrder

Description: First order transfer function block (= 1 pole)

system

Type: System

Description: System properties and default values (ambient, flow direction, initialization)

Revisions

  • Jan 2009 by Rüdiger Franke:
    Reduce diameters of pipe and reservoir ports; use separate port for measurement of reservoirPressure, avoiding disturbances due to pressure losses.
  • 1 Oct 2007 by Francesco Casella:
    Parameters updated.
  • 2 Nov 2005 by Francesco Casella:
    Created.