#5674 #5664 #5692 Shift connection number depth to show connection number at the middle of the flat areas of the graphs for inflow, and for accumulated flow to shw flow change at connection (not shifted one off) Aligned curve ascii export accordingly

This commit is contained in:
Jacob Støren
2020-03-16 15:23:35 +01:00
committed by Magne Sjaastad
parent ce7b08a809
commit d74e5fe5e8
4 changed files with 50 additions and 11 deletions

View File

@@ -74,7 +74,7 @@ RigAccWellFlowCalculator::RigAccWellFlowCalculator(
m_tracerNames.push_back( RIG_RESERVOIR_TRACER_NAME );
initializePipeBranchesMeasuredDepths();
calculateAccumulatedFlowPrConnection( 0, 1 );
calculateAccumulatedFlowPrConnection( 0, 0 );
calculateFlowPrPseudoLength( 0, 0.0 );
sortTracers();
groupSmallContributions();
@@ -109,7 +109,7 @@ RigAccWellFlowCalculator::RigAccWellFlowCalculator( const std::vector<std::vecto
}
initializePipeBranchesMeasuredDepths();
calculateAccumulatedFlowPrConnection( 0, 1 );
calculateAccumulatedFlowPrConnection( 0, 0 );
calculateFlowPrPseudoLength( 0, 0.0 );
if ( !m_useTotalWellPhaseRateOnly ) sortTracers();
@@ -147,7 +147,7 @@ RigAccWellFlowCalculator::RigAccWellFlowCalculator( const std::vector<cvf::Vec3d
}
initializePipeBranchesMeasuredDepths();
calculateAccumulatedFlowPrConnection( 0, 1 );
calculateAccumulatedFlowPrConnection( 0, 0 );
calculateFlowPrPseudoLength( 0, 0.0 );
if ( !m_useTotalWellPhaseRateOnly ) sortTracers();