From 3992c50814fb5ab22a4f0572148688025275adf7 Mon Sep 17 00:00:00 2001
From: Markus Quaritsch <markus.quaritsch@tugraz.at>
Date: Tue, 12 Feb 2019 15:06:29 +0100
Subject: [PATCH] AT gearbox: correction: requestAfterGearshift most not be set
 immediately but after shift losses are applied

---
 .../VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs
index 74814351b8..7ba29d28ac 100644
--- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs
+++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs
@@ -323,7 +323,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
 			if (!CurrentState.TorqueConverterLocked) {
 				var response = TorqueConverter.Request(absTime, dt, inTorque, inAngularVelocity, dryRun);
 				if (response is ResponseGearShift) {
-					RequestAfterGearshift = true;
+					//RequestAfterGearshift = false;
 				}
 				return response;
 			}
@@ -332,7 +332,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
 				_strategy.ShiftRequired(absTime, dt, outTorque, outAngularVelocity, inTorque, inAngularVelocity, Gear,
 					LastShift)) {
 				retVal = new ResponseGearShift { Source = this };
-				RequestAfterGearshift = true;
+				//RequestAfterGearshift = false;
 			}
 
 			return retVal;
-- 
GitLab