Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 2201f96d authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

Merge pull request #42 in VECTO/vecto-dev from...

Merge pull request #42 in VECTO/vecto-dev from VECTO/mq_vecto-dev:feature/VECTO-1240_hybrid-P0_with_APT to develop

* commit 'cb4bc6b1':
  do no allow engine stop during drive for p1 hybrid
parents 872197de cb4bc6b1
No related branches found
No related tags found
No related merge requests found
...@@ -665,6 +665,10 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies ...@@ -665,6 +665,10 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies
if (!ModelData.VehicleData.ADAS.EngineStopStart) { if (!ModelData.VehicleData.ADAS.EngineStopStart) {
return false; return false;
} }
var emPos = ModelData.ElectricMachinesData.First().Item1;
if (ModelData.VehicleData.ADAS.EngineStopStart && emPos == PowertrainPosition.HybridP1) {
return false;
}
return PreviousState.ICEStartTStmp == null || return PreviousState.ICEStartTStmp == null ||
(PreviousState.ICEStartTStmp + StrategyParameters.MinICEOnTime).IsSmaller(absTime); (PreviousState.ICEStartTStmp + StrategyParameters.MinICEOnTime).IsSmaller(absTime);
} }
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
} }
] ]
}, },
"EngineStopStart": false, "EngineStopStart": true,
"EcoRoll": "None", "EcoRoll": "None",
"PredictiveCruiseControl": "None", "PredictiveCruiseControl": "None",
"ATEcoRollReleaseLockupClutch": false, "ATEcoRollReleaseLockupClutch": false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment