diff --git a/VectoCore/VectoCore/Configuration/Constants.cs b/VectoCore/VectoCore/Configuration/Constants.cs index aa44a22fc0ed0fae354a66d867e0c9fc0dee9891..e65493d40983083cf05b2148f1eced60bbb0a3d2 100644 --- a/VectoCore/VectoCore/Configuration/Constants.cs +++ b/VectoCore/VectoCore/Configuration/Constants.cs @@ -374,8 +374,6 @@ namespace TUGraz.VectoCore.Configuration /// the combustion engine is set to on. /// </summary> public const double VTPIdleSpeedDetectionFactor = 0.85; - - public const double DownshiftIdlespeedFactor = 1.1; } public static class XML diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/HybridController.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/HybridController.cs index 312775c7d9987f67d346b88da9bf62e624eb7770..cd8ef7a898661ff95adc0af1375a45a4967c9cca 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/HybridController.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/HybridController.cs @@ -548,8 +548,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl protected virtual bool SpeedTooLowForEngine(GearshiftPosition gear, PerSecond outAngularSpeed) => - (outAngularSpeed * GearboxModelData.Gears[gear.Gear].Ratio).IsSmaller( - Constants.SimulationSettings.DownshiftIdlespeedFactor * DataBus.EngineInfo.EngineIdleSpeed); + (outAngularSpeed * GearboxModelData.Gears[gear.Gear].Ratio).IsSmaller(DataBus.EngineInfo.EngineIdleSpeed); protected virtual bool SpeedTooHighForEngine(GearshiftPosition gear, PerSecond outAngularSpeed) => (outAngularSpeed * GearboxModelData.Gears[gear.Gear].Ratio).IsGreaterOrEqual(