2022-01-24 13:47:05 +01:00
|
|
|
def run(ecl_state, schedule, report_step, sim, actionx_callback):
|
2020-03-22 21:02:32 +01:00
|
|
|
wells_shut = False
|
|
|
|
|
|
|
|
|
|
for well in sim.wells:
|
|
|
|
|
if sim.well_var(well, "WWCT") > 0.50:
|
|
|
|
|
schedule.shut_well(well, report_step)
|
|
|
|
|
wells_shut = True
|
|
|
|
|
|
|
|
|
|
return wells_shut
|