From 1e8335f76c9fbcc2dc6b63b9913ad61069192a7a Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <markus.quaritsch@tugraz.at> Date: Wed, 27 Oct 2021 13:30:12 +0200 Subject: [PATCH] Allow emergency shift if engine speed is already 1rpm below max speed (driver model searches to this operating point in case the engine speed is too high) --- .../Models/SimulationComponent/Impl/AMTShiftStrategy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/AMTShiftStrategy.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/AMTShiftStrategy.cs index 25b53db79b..827ff73e1e 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/AMTShiftStrategy.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/AMTShiftStrategy.cs @@ -90,7 +90,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl { return (outAngularSpeed * GearboxModelData.Gears[gear.Gear].Ratio).IsGreaterOrEqual(VectoMath.Min(GearboxModelData.Gears[gear.Gear].MaxSpeed, - DataBus.EngineInfo.EngineN95hSpeed)); + DataBus.EngineInfo.EngineN95hSpeed - 1.RPMtoRad())); } public override GearshiftPosition NextGear => _nextGear; -- GitLab