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

Skip to content
Snippets Groups Projects
Commit 438128c8 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

TorqueConverter: Removed duplicate ShiftRequired check

parent 0a9c8f5a
No related branches found
No related tags found
No related merge requests found
......@@ -133,10 +133,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
}
}
if (ShiftStrategy.ShiftRequired(absTime, dt, outTorque * ratio, outAngularVelocity / ratio, operatingPoint.InTorque,
operatingPoint.InAngularVelocity, Gearbox.Gear, Gearbox.LastShift)) {
return new ResponseGearShift() { Source = this };
}
CurrentState.SetState(operatingPoint.InTorque, operatingPoint.InAngularVelocity, outTorque, outAngularVelocity);
CurrentState.OperatingPoint = operatingPoint;
var retVal = NextComponent.Request(absTime, dt, operatingPoint.InTorque, operatingPoint.InAngularVelocity);
......
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