Fit Head-Flow Rate Data to a Pump Curve - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Applications and Example Worksheets : Science and Engineering : Fit Head-Flow Rate Data to a Pump Curve

Fit Head-Flow Rate Data to a Pump Curve

Introduction

This application will fit experimental head-flow rate data to a polynomial pump curve.

> 

withCurveFitting: withplots:

Head-Flow Rate Data

> 

flowData≔415614.5813.751012.701211.25149.5:

> 

p1≔plotflowData,style=point,symbol=solidcircle,symbolsize=20,labels=Flow Rate (cfm),Head (ft),labeldirections=horizontal,vertical

Curve Fitting

Head Curve

> 

f≔a−b⋅Q2:

> 

bestFitCurve≔LeastSquaresflowData,Q,curve=a−b⋅Q2

bestFitCurve≔15.6238973536488−0.0306535685645549⁢Q2

(3.1)
> 

p2≔plotbestFitCurve,Q=4..14:

> 

displayp1,p2,axesfont=Arial,labelfont=Arial

>