Some small logic fixes.

- Make sure to reopen revived wells.
 - Do not use thp limit for potential calculations when well is bhp controlled.
 - Stopped wells do not check controls.
 - Set thp to control when appropriate in updateWellStateWithTarget().
This commit is contained in:
Atgeirr Flø Rasmussen
2019-10-07 11:54:57 +02:00
committed by Tor Harald Sandve
parent 6b011c1bfb
commit f618073492
2 changed files with 7 additions and 2 deletions

View File

@@ -449,6 +449,9 @@ namespace Opm
WellState& well_state,
Opm::DeferredLogger& deferred_logger) /* const */
{
if (this->wellIsStopped()) {
return;
}
const auto& summaryState = ebos_simulator.vanguard().summaryState();
const auto& well = well_ecl_;