From 31657a5d1cdf3907fb45459546118c324126fb3a Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Fri, 1 Dec 2017 11:31:01 +0100 Subject: [PATCH] Add efficiencyFactor to GuideRate --- opm/core/wells/WellsGroup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/core/wells/WellsGroup.cpp b/opm/core/wells/WellsGroup.cpp index e720231c2..c3dbdc1c5 100644 --- a/opm/core/wells/WellsGroup.cpp +++ b/opm/core/wells/WellsGroup.cpp @@ -1388,7 +1388,7 @@ namespace Opm // 1. preventing the well from group control with keyword WGRUPCON // 2. the well violating some limits and working under limits. if ( (!only_group || !individualControl()) && isProducer() ) { - return prodSpec().guide_rate_; + return prodSpec().guide_rate_ * efficiencyFactor(); } else { return 0.0; } @@ -1400,7 +1400,7 @@ namespace Opm double WellNode::injectionGuideRate(bool only_group) { if ( (!only_group || !individualControl()) && isInjector() ) { - return injSpec().guide_rate_; + return injSpec().guide_rate_ * efficiencyFactor(); } else { return 0.0; }