From 95accd4455b300efc22fccbda2ef7813f61daff5 Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <markus.quaritsch@tugraz.at> Date: Tue, 28 Feb 2017 16:47:50 +0100 Subject: [PATCH] remove commented clause --- .../Models/SimulationComponent/Impl/AMTShiftStrategy.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/AMTShiftStrategy.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/AMTShiftStrategy.cs index 5a75944df6..fa71ecaf45 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/AMTShiftStrategy.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/AMTShiftStrategy.cs @@ -112,10 +112,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl var reserve = 1 - response.EnginePowerRequest / fullLoadPower; var inTorque = response.ClutchPowerRequest / inAngularSpeed; - // if in shift curve and above idle speed and torque reserve is provided. - if ( /*!IsBelowDownShiftCurve(gear, inTorque, response.EngineSpeed) &&*/ response.EngineSpeed > - DataBus.EngineIdleSpeed && - reserve >= ModelData.StartTorqueReserve) { + + if (response.EngineSpeed > DataBus.EngineIdleSpeed && reserve >= ModelData.StartTorqueReserve) { _nextGear = gear; _gearbox.LastUpshift = absTime; _gearbox.LastDownshift = absTime; -- GitLab