mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
committed by
Tor Harald Sandve
parent
6b011c1bfb
commit
f618073492
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user