Wolfram Computation Meets Knowledge

Pump Example

Drag-in ComponentsDefine Constant Speed Parameters
Define Pump ParametersInitialize System Parameters
Define Pipe ParametersConnect and Simulate
Define Ambient ParametersAnalyze
Define Suction Pressure Parameters

In this part, transport of fluid through an inclined pipe using a pump is modeled. Using this model, you will learn how to instantiate a pump and understand the impact of pipe inclination on the pump's performance.

1.gif

Model to determine the head vs. flow rate characteristics of the pump.

Drag-in Components

Create a new model and drag the following components from the Modelica standard library:

Define Pump Parameters

Select the pump that you want to model. A pump manufacturer usually provides a pump curve like the following:

3.gif

Use a pump that has a nominal speed of 1480 RPM. You can get the following information from the pump curve:

Define Pipe Parameters

Medium (This parameter cannot be left blank.) Select a fluid from the drop-down menu, e.g. Extension of the standard water package.

Length: Total length of the pipe

isCircular: You can choose between circular and non-circular. If isCircular is set to false, then crossArea and perimeter parameters have to be defined. Note that it is assumed that the cross-sectional area is constant throughout the length.

Diameter: Diameter of the circular pipe

Roughness: Roughness of the inner pipe surface. This is a pipe material property, so common materials and their roughness values are listed below:

Define Ambient Parameters

Medium: Select a fluid from the drop-down menu, e.g. Extension of the standard water package.

nPorts: As the ambient is only connected to the pipe, set this value to 1.

11.gif

Define Suction Pressure Parameters

Medium: Select a fluid from the drop-down menu, e.g. Extension of the standard water package.

nPorts: As the suctionPressure is only connected to the pump, set this value to 1.

12.gif

Define Constant Speed Parameters

w_fixed: Define the fixed speed.

13.gif

Initialize System Parameters

Go to the Initialization tab under system. Set m_flow_start as 1 kg/s. This would make the model numerically stable.

14.gif

Connect and Simulate

Connect the ports:

15.gif

Provide a simulation time in the Experiment Setup and simulate:

16.gif

Analyze

Plot the pump head and volume flow rate. Pump head and volume flow rate can be obtained from the following variable: pump.head and pump.V_flow:

17.gif

Compare the pump response for three different values of pipe.height_ab. Duplicate and rerun the experiment for 5, 10 and 15 m of height_ab:

18.gif

As the pipe is tilted, more work (more head) has to be done by the pump, and it also leads to lower flow rate.