not setting FLD to be NONE for group

since SingleWellState::GroupTarget does not get group target from a
group under FLD control.
This commit is contained in:
Kai Bao committed 2026-02-17 14:03:19 +01:00
1 parent a539d10330
commit 5bf33bd753
1 file changed
+2 -1
@@ -2011,7 +2011,8 @@ updateNONEProductionGroups(const GasLiftOpt& glo, DeferredLogger& deferred_logge
continue;
}
const auto& gname = gnames[i];
if (group_state.production_control(gname) != Group::ProductionCMode::NONE) {
if (group_state.production_control(gname) != Group::ProductionCMode::NONE &&
group_state.production_control(gname) != Group::ProductionCMode::FLD) {
// If the production group is specified for gas lift optimization,
// the current gas lift optimization implementation relies on the control
// mode is not NONE or FLD. As a result, we can not set it to NONE here.