Accurately computes friction in well and checks for stored values on updateTaper
This commit is contained in:
@@ -23,7 +23,7 @@ public class FluidShot {
|
||||
|
||||
FluidShot(double fluidLevel, double fluidGradient, double downholeLoadSpan, double totalDepth, double pumpArea){
|
||||
this.fluidLevel = fluidLevel;
|
||||
pumpIntakePressure = fluidLevel / fluidGradient;
|
||||
pumpIntakePressure = fluidLevel * fluidGradient;
|
||||
|
||||
frictionEstimate = downholeLoadSpan - (fluidGradient * totalDepth - pumpIntakePressure) * pumpArea;
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user