check ipr for wells prevented to change to thp

This commit is contained in:
Tor Harald Sandve 2022-08-19 10:48:56 +02:00
parent 7a8eed6a6c
commit 0f969dd7a5

View File

@ -689,7 +689,7 @@ namespace Opm
checkOperabilityUnderBHPLimit(well_state, ebos_simulator, deferred_logger);
}
// we do some extra checking for wells under THP control.
if (thp_controled) {
if (check_thp) {
checkOperabilityUnderTHPLimit(ebos_simulator, well_state, deferred_logger);
}
}