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

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

electric motor: make warning on overload buffer more precise (warning is printed if buffer is 0 )

parent 94f3e560
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
OverloadBuffer = (peakPwrLoss - ContinuousPowerLoss) * ModelData.OverloadTime;
if (OverloadBuffer.IsSmallerOrEqual(0) && !(container is SimplePowertrainContainer)) {
Log.Error("Overload buffer for thermal de-rating is negative! Please check electric motor data!");
Log.Error("Overload buffer for thermal de-rating is zero or negative! Please check electric motor data!");
}
}
......
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