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:
Kai Bao 2016-06-28 10:44:56 +02:00
parent 53490270e1
commit e903690107

View File

@ -1315,6 +1315,11 @@ namespace Opm
}
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);
}
}