adding canProduceInjectWithCurrentBhp to StandardWell

and use it the operability_status determination.
This commit is contained in:
Kai Bao
2018-11-22 07:02:29 +01:00
parent f9988057af
commit 7d721408f2
6 changed files with 64 additions and 22 deletions

View File

@@ -954,7 +954,7 @@ namespace Opm {
prepareGroupControl();
for (const auto& well : well_container_) {
well->checkWellOperability(ebosSimulator_);
well->checkWellOperability(ebosSimulator_, well_state_);
}
// since the controls are all updated, we should update well_state accordingly