Merge pull request #1402 from bska/record-all-wellopen-events

Schedule: Record RFT Well Open Events on Status Changes
This commit is contained in:
Joakim Hove 2020-01-10 19:57:39 +01:00 committed by GitHub
commit 0f29249478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -933,6 +933,8 @@ namespace {
this->addWellGroupEvent( well2->name(), ScheduleEvents::WELL_STATUS_CHANGE, reportStep);
this->updateWell(well2, reportStep);
update = true;
if (status == Well::Status::OPEN)
this->rft_config.addWellOpen(well_name, reportStep);
}
}
return update;