Avoid looking up (non-existing) ALQ value for injectors.

This commit is contained in:
Vegard Kippe
2024-02-21 17:04:59 +01:00
parent 5c6087b0ee
commit 6a760f40dd

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