diff --git a/VectoCore/VectoCore/Models/Simulation/Impl/PCCEcoRollEngineStopPreprocessor.cs b/VectoCore/VectoCore/Models/Simulation/Impl/PCCEcoRollEngineStopPreprocessor.cs index 1b6c4c75fbfd4bd1b5210f1c1a66119c29697cbc..e75d98c02b9967083c206c14c2bc982790baf8ed 100644 --- a/VectoCore/VectoCore/Models/Simulation/Impl/PCCEcoRollEngineStopPreprocessor.cs +++ b/VectoCore/VectoCore/Models/Simulation/Impl/PCCEcoRollEngineStopPreprocessor.cs @@ -100,7 +100,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl private GearshiftPosition FindLowestGearForSpeed(MeterPerSecond speed) { var data = Container.RunData; - var ratio = data.AxleGearData.AxleGear.Ratio * (data.AngledriveData?.Angledrive.Ratio ?? 1.0) / + var ratio = (data.AxleGearData?.AxleGear.Ratio ?? 1.0 ) * (data.AngledriveData?.Angledrive.Ratio ?? 1.0) / data.VehicleData.DynamicTyreRadius; var possible = new List<GearshiftPosition>(); foreach (var gear in data.GearboxData.GearList) {