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

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

fix: wrong calculation of parameters for shift strategy in torque converter

parent 1c965421
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
}
}
var ratio = Gearbox.ModelData.Gears[Gearbox.Gear].TorqueConverterRatio;
if (ShiftStrategy.ShiftRequired(absTime, dt, outTorque, outAngularVelocity / ratio, operatingPoint.InTorque * ratio,
if (ShiftStrategy.ShiftRequired(absTime, dt, outTorque * ratio, outAngularVelocity / ratio, operatingPoint.InTorque,
operatingPoint.InAngularVelocity, Gearbox.Gear, Gearbox.LastShift)) {
return new ResponseGearShift() { Source = this };
}
......
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