From 5cd6f99ebf0ed52568919ba6c0080b1940bd236a Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <markus.quaritsch@tugraz.at> Date: Thu, 13 Aug 2020 09:06:01 +0200 Subject: [PATCH] allow P3 and P4 EM to propell/recuperate during braking if the ICE is off (to keep the ICE off) --- .../Models/SimulationComponent/Strategies/HybridStrategy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Strategies/HybridStrategy.cs b/VectoCore/VectoCore/Models/SimulationComponent/Strategies/HybridStrategy.cs index 4e756f7347..8cec402461 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Strategies/HybridStrategy.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Strategies/HybridStrategy.cs @@ -676,7 +676,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies } } - if (ElectricMotorCanPropellDuringTractionInterruption && allowIceOff && DataBus.DriverInfo.DrivingAction != DrivingAction.Brake) { + if (ElectricMotorCanPropellDuringTractionInterruption && allowIceOff && (DataBus.DriverInfo.DrivingAction != DrivingAction.Brake || !DataBus.EngineInfo.EngineOn)) { // this means that the EM is between wheels and transmission // search EM Torque that results in 0 torque at ICE out try { -- GitLab