mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Only iterate wells activated for gaslift
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user