Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion opm/simulators/utils/PartiallySupportedFlowKeywords.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ partiallySupported()
{
"GECON",
{
{7,{true, allow_values<std::string> {"NONE"}, "GECON(WORKOVER): Workover procedures not implemented"}},
{7,{true, allow_values<std::string> {"NONE", "WELL"}, "GECON(WORKOVER): Workover procedures only implemented for WELL and NONE"}},
{8,{true, allow_values<std::string> {"NO"}, "GECON(ENDRUN): End run not implemented"}},
},
},
Expand Down
7 changes: 5 additions & 2 deletions opm/simulators/wells/BlackoilWellModelGeneric.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,11 @@ checkGEconLimits(
if (checker.minOilRate() || checker.minGasRate()) {
checker.closeWells();
}
else if (checker.waterCut() || checker.GOR() || checker.WGR()) {
checker.doWorkOver();
else {
const auto ratio_details = checker.ratioViolation();
if (ratio_details.has_value()) {
checker.doWorkOver(ratio_details.value());
}
}
if (checker.endRun() && (checker.numProducersOpenInitially() >= 1)
&& (checker.numProducersOpen() == 0))
Expand Down
Loading