Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 5dd70859 authored by Harald Martini's avatar Harald Martini Committed by Markus Quaritsch
Browse files

switch em on in pevamt shift strategy testpowertrain

(cherry picked from commit 7fafd126)
parent 2276e177
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment