Professional Documents
Culture Documents
http://excelcalculations.blogspot.com
For complete documentation click here
Parameters
Legend
1000
0.001
Gravity (m s-2)
Pipe diameter (m)
Pipe length (m)
Pipe roughness (m)
9.81
0.1
10
0.0001
0.007854
0.1
-0.001 Q
0.943791
94379.13
0.022083
0.100254
0.099993
0.000262
0 Q^2
ed in Goal Seek
his number
Introduction
This article will demonstrate how you can balance a pump curve agai
First, we'll develop the equations that determine the liquid velocity i
Equation 1
Equation 2
where A is the cross-sectional area of the pipe and V is the liquid velo
Equation 3
This equation now describes the head produced by the pump as a fun
Now consider the pipe. Frictional head loss through the pipe can be d
Equation 4
Equation 5
Equation 6
The Haaland equation is only valid in turbulent flow, i.e. if the Reyno
For our pump and pipe system, the pump head is equal to the head lo
Equation 7
We can now use Excel to find the liquid velocity that satisfies Equatio
Excel Implementation
The Excel spreadsheet uses this cell coloring convention.
Step 4. Go to Data > What-If Analysis > Goal Seek. Make the changes
You should now have the correct value of the liquid velocity.
Ensure that the Reynolds number is greater than 2500 so that our assu
If you're really keen, you can use Visual Basic to automate Goal Seek.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim bSuccess As Boolean
On Error Resume Next
bSuccess = Range("C23").GoalSeek(0, Range("c18"))
On Error GoTo 0
If Not bSuccess Then
MsgBox "Goal Seek Failed"
End If
End Sub
w you can balance a pump curve against a system curve to calculate liquid velocity with Excel.
ns that determine the liquid velocity in a simple pump and pipe system. Then we'll discuss how these equations be solved using Excel's Goal Seek fea
e downloaded here, but read the rest of this article if you'd like to understand the theory.
System
eiving liquid from a reservoir and forcing liquid through a pipe to a reservoir.
wrate-head curve is can be described by a polynomial derived from empirical data, where a, b and c are best-fit coefficients, and Q is the volumetri
ea of the pipe and V is the liquid velocity through the pipe. Substituting Equation 2 into Equation 1 to eliminate Q gives
head produced by the pump as a function of the liquid velocity through the pipe.
al head loss through the pipe can be described by the Bernoulli equation and written as
the pump head is equal to the head loss in the pipe. Hence
e liquid velocity that satisfies Equation 7 (effectively determining the intersection between the pump curve and the system curve).
ntation
alysis > Goal Seek. Make the changes such that we find the liquid velocity that makes difference between pump curve and the system curve equal t
r is greater than 2500 so that our assumption of turbulent flow (and hence the use of the Haaland equation) is verified.
Seek(0, Range("c18"))
sheet is changed, the Worksheet_Change() event is initiated . The VB code then asks GoalSeek() to find the liquid velocity ("C18") that makes the di
be solved using Excel's Goal Seek feature. Finally, we'll show Visual Basic code that can be used to automate Goal Seek so that any parameter chang
uid velocity ("C18") that makes the difference between the pump and system curve ("C23") equal to zero.
oal Seek so that any parameter change will automatically calculate the new liquid velocity.