From 4fcbd16962bfd6055dadc719fc286d0a2aeaa56a Mon Sep 17 00:00:00 2001 From: Kai Bao Date: Mon, 16 Jan 2017 16:13:44 +0100 Subject: [PATCH] considering effieciency factor when calculating production rate. --- opm/core/wells/WellsGroup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/core/wells/WellsGroup.cpp b/opm/core/wells/WellsGroup.cpp index 3da2b6971..1c666726a 100644 --- a/opm/core/wells/WellsGroup.cpp +++ b/opm/core/wells/WellsGroup.cpp @@ -889,7 +889,7 @@ namespace Opm { double total_production_rate = 0.0; for (const std::shared_ptr& child_node : children_) { - total_production_rate += child_node->getProductionRate(well_rates, prod_mode); + total_production_rate += child_node->getProductionRate(well_rates, prod_mode) * child_node->efficiencyFactor(); } return total_production_rate; }