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 a1ca0369 authored by Stefanos DOUMPOULAKIS's avatar Stefanos DOUMPOULAKIS
Browse files

Merge branch 'fix/655-462_HEV_DryRunSolution_TqGBLim' into 'amdm2/develop'

HybridStrategy - modifying condition to use previous run DryRunSolution in...

See merge request vecto/vecto!229
parents fefb087d bcccb16b
No related branches found
No related tags found
No related merge requests found
...@@ -440,6 +440,9 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies ...@@ -440,6 +440,9 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies
return HandleRequestExceedsMaxPower(absTime, dt, outTorque, outAngularVelocity, dryRun, return HandleRequestExceedsMaxPower(absTime, dt, outTorque, outAngularVelocity, dryRun,
testRequest); testRequest);
} }
else {
LimitedGbxTorque = false;
}
} }
} }
...@@ -458,7 +461,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies ...@@ -458,7 +461,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies
LimitedGbxTorque = false; LimitedGbxTorque = false;
} }
if (dryRun && DryRunSolution != null && DryRunSolution.DrivingAction == DataBus.DriverInfo.DrivingAction) { if (dryRun && DryRunSolution != null && DryRunSolution.DrivingAction == DataBus.DriverInfo.DrivingAction && DataBus.GearboxInfo.TCLocked && !DryRunSolution.Solution.IgnoreReason.EngineSpeedBelowDownshift()) {
var tmp = CreateResponse(DryRunSolution.Solution, currentGear); var tmp = CreateResponse(DryRunSolution.Solution, currentGear);
return tmp; return tmp;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment