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 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
Branches
Tags
No related merge requests found
...@@ -705,8 +705,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies ...@@ -705,8 +705,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies
} }
); );
if (emTorqueICEOff.IsBetween( if (emTorqueICEOff.IsBetween(
firstResponse.ElectricMotor.MaxDriveTorque, 0.SI<NewtonMeter>())) { firstResponse.ElectricMotor.MaxDriveTorque, firstResponse.ElectricMotor.MaxRecuperationTorque)) {
// only consider where EM is propelling // only consider when within allowed EM torque range
var tmp = TryConfiguration( var tmp = TryConfiguration(
absTime, dt, outTorque, outAngularVelocity, nextGear, emPos, emTorqueICEOff, emTorqueICEOff / emTqReq, absTime, dt, outTorque, outAngularVelocity, nextGear, emPos, emTorqueICEOff, emTorqueICEOff / emTqReq,
allowIceOff); allowIceOff);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment