#1203 Well Alloc Plots for wells with inconsistent flow does now include accumulated allocation factors. The direct well flow rates is also shown with allocation, but the inconsistent flow connections are assigned to the Reservoir tracer.

This commit is contained in:
Jacob Støren
2017-03-10 11:50:17 +01:00
parent 2f17096cde
commit 028f9458e9
2 changed files with 134 additions and 29 deletions

View File

@@ -86,16 +86,16 @@ public:
std::vector<std::pair<QString, double> > totalTracerFractions() const;
private:
bool hasConsistentFlow(const RigWellResultPoint &wellCell) const;
void calculateAccumulatedFlowPrConnection( size_t branchIdx,
size_t startConnectionNumberFromTop);
void calculateFlowPrPseudoLength(size_t branchIdx,
void calculateFlowPrPseudoLength(size_t branchIdx,
double startPseudoLengthFromTop);
std::vector<double> calculateFlowPrTracer(const RigWellResultPoint& wellCell) const;
std::vector<double> calculateFlowPrTracer(const RigWellResultPoint& wellCell,
const std::vector<double>& currentAccumulatedFlowPrTracer ) const;
void sortTracers();
void groupSmallContributions();