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

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

hybrid strategy: allow recuperation as well if EM torque for 0 ICE torque gets...

hybrid strategy: allow recuperation as well if EM torque for 0 ICE torque gets positive (e.g. when driving downhill)
parent cf5e73d5
No related branches found
No related tags found
No related merge requests found
......@@ -705,8 +705,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies
}
);
if (emTorqueICEOff.IsBetween(
firstResponse.ElectricMotor.MaxDriveTorque, 0.SI<NewtonMeter>())) {
// only consider where EM is propelling
firstResponse.ElectricMotor.MaxDriveTorque, firstResponse.ElectricMotor.MaxRecuperationTorque)) {
// only consider when within allowed EM torque range
var tmp = TryConfiguration(
absTime, dt, outTorque, outAngularVelocity, nextGear, emPos, emTorqueICEOff, emTorqueICEOff / emTqReq,
allowIceOff);
......
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