mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix SHUT wells
Shut wells are not added to the well list and thus not considered in the simulator. The shut well test in test_wellsmanager is modified to assert this behaviour. BUG: This change provokes an assert in the EclipeWriter as number of wells in wellstate is different from number of wells in the schedule.
This commit is contained in:
@@ -412,7 +412,7 @@ namespace Opm
|
||||
}
|
||||
|
||||
if (well->getStatus(timeStep) == WellCommon::SHUT) {
|
||||
well_controls_shut_well( w_->ctrls[well_index] );
|
||||
//well_controls_shut_well( w_->ctrls[well_index] );
|
||||
well_index++;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user