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
p2≔plotbestFitCurve,Q=4..14:
displayp1,p2,axesfont=Arial,labelfont=Arial
Download Help Document