Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit b19935c9 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

disable writing search sequence

parent 9f3c8b6f
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,7 @@ namespace TUGraz.VectoCore.Utils
log.Error("Exceeded max iterations when searching for operating point!");
log.Error("debug: {0}", debug);
WriteSerach(debug, "LineSearch.csv");
//WriteSerach(debug, "LineSearch.csv");
throw new VectoSearchFailedException("Failed to find operating point! points: {0}", debug);
}
......@@ -228,7 +228,7 @@ namespace TUGraz.VectoCore.Utils
log.Error("Exceeded max iterations when searching for operating point!");
log.Error("debug: {0}", debug);
WriteSerach(debug, "InterpolateSearch.csv");
//WriteSerach(debug, "InterpolateSearch.csv");
throw new VectoSearchFailedException("Failed to find operating point! points: {0}", debug);
}
......@@ -251,9 +251,9 @@ namespace TUGraz.VectoCore.Utils
row["x"] = entry.x.Value();
row["y"] = entry.y.Value();
row["delta"] = entry.delta;
row["AuxPower"] = response.AuxiliariesPowerDemand.Value();
row["engineSpeed"] = response.EngineSpeed.Value();
row["enginePower"] = response.EnginePowerRequest.Value();
row["AuxPower"] = response.AuxiliariesPowerDemand == null ? -1 : response.AuxiliariesPowerDemand.Value();
row["engineSpeed"] = response.EngineSpeed == null ? -1 : response.EngineSpeed.Value();
row["enginePower"] = response.EnginePowerRequest == null ? -1 : response.EnginePowerRequest.Value();
table.Rows.Add(row);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment