From 5bf33bd75374d5f45abaef88cd7b58ebc3dbf2b1 Mon Sep 17 00:00:00 2001 From: Kai Bao Date: Tue, 17 Feb 2026 13:35:52 +0100 Subject: [PATCH] not setting FLD to be NONE for group since SingleWellState::GroupTarget does not get group target from a group under FLD control. --- opm/simulators/wells/BlackoilWellModelGeneric.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opm/simulators/wells/BlackoilWellModelGeneric.cpp b/opm/simulators/wells/BlackoilWellModelGeneric.cpp index ea5a28f186..d5377a9bc0 100644 --- a/opm/simulators/wells/BlackoilWellModelGeneric.cpp +++ b/opm/simulators/wells/BlackoilWellModelGeneric.cpp @@ -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.