Only iterate wells activated for gaslift

This commit is contained in:
Håkon Hægland
2023-04-13 11:08:30 +02:00
parent 4ba5e3efad
commit e241fccbca

View File

@@ -604,7 +604,7 @@ namespace Opm
const auto& schedule = ebos_simulator.vanguard().schedule();
auto report_step_idx = ebos_simulator.episodeIndex();
const auto& glo = schedule.glo(report_step_idx);
assert(glo.has_well(well_name));
if(glo.has_well(well_name)) {
auto increment = glo.gaslift_increment();
auto alq = well_state.getALQ(well_name);
bool converged;
@@ -619,6 +619,10 @@ namespace Opm
}
return false;
}
else {
return iterateWellEquations(ebos_simulator, dt, well_state, group_state, deferred_logger);
}
}
template<typename TypeTag>
void