mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-09 10:15:34 -06:00
considering effieciency factor when calculating production rate.
This commit is contained in:
parent
e0143f85fd
commit
4fcbd16962
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user