allow high temps in open loop mode

This commit is contained in:
Milos Kozak 2016-10-17 08:44:01 +02:00
parent 744a4143f4
commit 2354e60f31

View file

@ -242,7 +242,7 @@ public class ObjectivesPlugin implements PluginBase, ConstraintsInterface {
@Override
public Double applyMaxIOBConstraints(Double maxIob) {
if (objectives.get(4).started.getTime() > 0)
if (objectives.get(4).started.getTime() > 0 || objectives.get(2).accomplished.getTime() == 0)
return maxIob;
else {
if (Config.logConstraintsChanges)