Accurately computes friction in well and checks for stored values on updateTaper

This commit is contained in:
Patrick McDonagh
2017-02-10 14:58:16 -06:00
parent 5b060cf6af
commit a8c3a9d90b
3 changed files with 218 additions and 204 deletions

View File

@@ -742,6 +742,10 @@ public class Well {
theoreticalMaxFluidLoad = fluidGradient* rodDepthTotal* pumpArea;
frictionEstimate = 0.10 * rodDepthTotal;
double dbFrictionEstimate = db.getLatestFrictionEstimate();
if (dbFrictionEstimate != -1){
frictionEstimate = dbFrictionEstimate;
}
}
private double position(int p)