considering effieciency factor when calculating production rate.

This commit is contained in:
Kai Bao 2017-01-16 16:13:44 +01:00
parent 9fe6d80f99
commit cb84571540

View File

@ -889,7 +889,7 @@ namespace Opm
{
double total_production_rate = 0.0;
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;
}