mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3271 from totto82/fixRESVpred
BUGFIX fix direction of the resv check
This commit is contained in:
commit
377d7eca60
@ -2179,7 +2179,7 @@ namespace Opm
|
||||
if( pu.phase_used[BlackoilPhases::Vapour] )
|
||||
current_rate -= well_state.wellReservoirRates()[ wellrate_index + pu.phase_pos[BlackoilPhases::Vapour] ];
|
||||
|
||||
if (controls.prediction_mode && controls.resv_rate > current_rate) {
|
||||
if (controls.prediction_mode && controls.resv_rate < current_rate) {
|
||||
currentControl = Well::ProducerCMode::RESV;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user