mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
BUGFIX fix direction of the resv check
This commit is contained in:
parent
55dfc84067
commit
4cf08deede
@ -2177,7 +2177,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