Merge pull request #5221 from vkip/avoid_injector_alq_lookup

Avoid injector alq lookup
This commit is contained in:
Kai Bao 2024-02-28 11:40:27 +01:00 committed by GitHub
commit 06dba324d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -827,6 +827,7 @@ namespace WellGroupHelpers
const auto& group = schedule.getGroup(node, report_time_step);
for (const std::string& wellname : group.wells()) {
const Well& well = schedule.getWell(wellname, report_time_step);
if (well.isInjector()) continue;
// 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
// the efficiency factor. Fixing this requires not only changing the