mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3720 from totto82/operSolvEcon
Only check operable wells for wecon
This commit is contained in:
commit
31954a487b
@ -790,8 +790,9 @@ updateWellTestState(const SingleWellState& ws,
|
|||||||
// updating well test state based on physical (THP/BHP) limits.
|
// updating well test state based on physical (THP/BHP) limits.
|
||||||
updateWellTestStatePhysical(simulationTime, writeMessageToOPMLog, wellTestState, deferred_logger);
|
updateWellTestStatePhysical(simulationTime, writeMessageToOPMLog, wellTestState, deferred_logger);
|
||||||
|
|
||||||
// updating well test state based on Economic limits.
|
// updating well test state based on Economic limits for operable wells
|
||||||
updateWellTestStateEconomic(ws, simulationTime, writeMessageToOPMLog, wellTestState, deferred_logger);
|
if (this->isOperableAndSolvable())
|
||||||
|
updateWellTestStateEconomic(ws, simulationTime, writeMessageToOPMLog, wellTestState, deferred_logger);
|
||||||
|
|
||||||
// TODO: well can be shut/closed due to other reasons
|
// TODO: well can be shut/closed due to other reasons
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user