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

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

Torque converter: use previous engine speed in case no operating point for...

Torque converter: use previous engine speed in case no operating point for certain power demand was found (more stable, reduces torque due to engien inertia)
parent 647b32c9
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(engineResponse.EngineSpeed, outAngularVelocity);
var retVal = ModelData.FindOperatingPoint(DataBus.EngineSpeed, outAngularVelocity);
retVal.Creeping = true;
return retVal;
}
......@@ -231,7 +231,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
} catch (VectoException ve) {
Log.Error(ve, "TorqueConverter: Failed to find operating point for MaxPower {0}",
engineResponse.DynamicFullLoadPower);
var tqOperatingPoint = ModelData.FindOperatingPoint(engineResponse.EngineSpeed, outAngularVelocity);
var tqOperatingPoint = ModelData.FindOperatingPoint(DataBus.EngineSpeed, outAngularVelocity);
tqOperatingPoint.Creeping = true;
return tqOperatingPoint;
}
......
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