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

Skip to content
Snippets Groups Projects
Commit cb4bc6b1 authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

do no allow engine stop during drive for p1 hybrid

parent 668fb534
No related branches found
No related tags found
No related merge requests found
......@@ -665,6 +665,10 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies
if (!ModelData.VehicleData.ADAS.EngineStopStart) {
return false;
}
var emPos = ModelData.ElectricMachinesData.First().Item1;
if (ModelData.VehicleData.ADAS.EngineStopStart && emPos == PowertrainPosition.HybridP1) {
return false;
}
return PreviousState.ICEStartTStmp == null ||
(PreviousState.ICEStartTStmp + StrategyParameters.MinICEOnTime).IsSmaller(absTime);
}
......
......@@ -39,7 +39,7 @@
}
]
},
"EngineStopStart": false,
"EngineStopStart": true,
"EcoRoll": "None",
"PredictiveCruiseControl": "None",
"ATEcoRollReleaseLockupClutch": false,
......
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