mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Merge pull request #5221 from vkip/avoid_injector_alq_lookup
Avoid injector alq lookup
This commit is contained in:
@@ -827,6 +827,7 @@ namespace WellGroupHelpers
|
|||||||
const auto& group = schedule.getGroup(node, report_time_step);
|
const auto& group = schedule.getGroup(node, report_time_step);
|
||||||
for (const std::string& wellname : group.wells()) {
|
for (const std::string& wellname : group.wells()) {
|
||||||
const Well& well = schedule.getWell(wellname, report_time_step);
|
const Well& well = schedule.getWell(wellname, report_time_step);
|
||||||
|
if (well.isInjector()) continue;
|
||||||
// Here we use the efficiency unconditionally, but if WEFAC item 3
|
// Here we use the efficiency unconditionally, but if WEFAC item 3
|
||||||
// for the well is false (it defaults to true) then we should NOT use
|
// for the well is false (it defaults to true) then we should NOT use
|
||||||
// the efficiency factor. Fixing this requires not only changing the
|
// the efficiency factor. Fixing this requires not only changing the
|
||||||
|
|||||||
Reference in New Issue
Block a user