considering effieciency factor when calculating production rate.

This commit is contained in:
Kai Bao 2017-01-16 16:13:44 +01:00
parent e0143f85fd
commit 4fcbd16962

View File

@ -889,7 +889,7 @@ namespace Opm
{ {
double total_production_rate = 0.0; double total_production_rate = 0.0;
for (const std::shared_ptr<const WellsGroupInterface>& child_node : children_) { for (const std::shared_ptr<const WellsGroupInterface>& 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; return total_production_rate;
} }