diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Shiftstrategies/PEVAMTShiftStrategy.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Shiftstrategies/PEVAMTShiftStrategy.cs index a95252c997b1074663503aa3d628aed9fe3d08a1..7757296b4a0446075bb74e765e14bd9ff6e9cdfc 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Shiftstrategies/PEVAMTShiftStrategy.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Shiftstrategies/PEVAMTShiftStrategy.cs @@ -144,6 +144,12 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl.Shiftstrategies PowertrainBuilder.BuildSimplePowertrainElectric(runData, testContainer); TestPowertrain = new TestPowertrain<Gearbox>(testContainer, DataBus); + foreach (var motor in testContainer.ElectricMotors.Values) + { + if ((motor as ElectricMotor).Control is SimpleElectricMotorControl emCtl) { + emCtl.EmOff = false; //Make sure em is switched on + } + } } protected void SetupVelocityDropPreprocessor(IVehicleContainer dataBus)