mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 13:29:08 -06:00
giving a warning if the WECON request ending running
It is not supported yet to stop the whole program after a well is closed due to economic limits.
This commit is contained in:
parent
53490270e1
commit
e903690107
@ -1315,6 +1315,11 @@ namespace Opm
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (rate_limit_violated) {
|
if (rate_limit_violated) {
|
||||||
|
if (econ_production_limits.endRun()) {
|
||||||
|
std::cerr << "WARNING: ending run after well closed due to economic limits is not supported yet"
|
||||||
|
<< std::endl
|
||||||
|
<< "the program will keep running after " << well_name << " is closed " << std::endl;
|
||||||
|
}
|
||||||
list_econ_limited.addShuttedWell(well_name);
|
list_econ_limited.addShuttedWell(well_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user