Merge pull request #3720 from totto82/operSolvEcon

Only check operable wells for wecon
This commit is contained in:
Tor Harald Sandve 2021-12-07 12:44:24 +01:00 committed by GitHub
commit 31954a487b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -790,7 +790,8 @@ updateWellTestState(const SingleWellState& ws,
// updating well test state based on physical (THP/BHP) limits.
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
if (this->isOperableAndSolvable())
updateWellTestStateEconomic(ws, simulationTime, writeMessageToOPMLog, wellTestState, deferred_logger);
// TODO: well can be shut/closed due to other reasons