From 438128c8f7f7d2309e80bbd9c8c6469d42e2a58d Mon Sep 17 00:00:00 2001 From: Michael Krisper <michael.krisper@tugraz.at> Date: Wed, 9 Nov 2016 14:11:17 +0100 Subject: [PATCH] TorqueConverter: Removed duplicate ShiftRequired check --- .../Models/SimulationComponent/Impl/TorqueConverter.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/TorqueConverter.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/TorqueConverter.cs index cfea47dc02..a5a6ed33a8 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/TorqueConverter.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/TorqueConverter.cs @@ -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); -- GitLab