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

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

TC: for drag operating point search decrease engine speed to allow for...

TC: for drag operating point search decrease engine speed to allow for negative torque (at least not keep high output power)
parent 75ebbf8f
No related branches found
No related tags found
No related merge requests found
......@@ -210,7 +210,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
return operatingPoint;
} catch (VectoException ve) {
Log.Error(ve, "TorqueConverter: Failed to find operating point for DragPower {0}", engineResponse.DragPower);
var retVal = ModelData.FindOperatingPoint(DataBus.EngineSpeed, outAngularVelocity);
var retVal = ModelData.FindOperatingPoint(VectoMath.Max(DataBus.EngineIdleSpeed, 0.8 * DataBus.EngineSpeed), outAngularVelocity);
retVal.Creeping = true;
return retVal;
}
......
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