Merge pull request #705 from totto82/fix_well_event2
update well event also for WCONINJH
This commit is contained in:
commit
0d172c9a1c
@ -1048,8 +1048,10 @@ namespace Opm {
|
||||
|
||||
WellInjectionProperties properties(well.getInjectionPropertiesCopy(currentStep));
|
||||
properties.handleWCONINJH(record, well.isProducer(currentStep), well.name(), section.unitSystem());
|
||||
if (well.setInjectionProperties(currentStep, properties))
|
||||
if (well.setInjectionProperties(currentStep, properties)) {
|
||||
m_events.addEvent( ScheduleEvents::INJECTION_UPDATE , currentStep );
|
||||
this->addWellEvent( well.name(), ScheduleEvents::INJECTION_UPDATE, currentStep);
|
||||
}
|
||||
|
||||
if ( ! well.getAllowCrossFlow() && (properties.surfaceInjectionRate == 0)) {
|
||||
std::string msg =
|
||||
|
Loading…
Reference in New Issue
Block a user