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

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

driver: remove condition for adapting operating point when setting tc operating point

parent 27248561
No related branches found
No related tags found
No related merge requests found
......@@ -916,16 +916,16 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
//var maxTorque = DataBus.e
var tcOp = DataBus.TorqueConverterInfo.CalculateOperatingPoint(DataBus.EngineInfo.EngineIdleSpeed * 1.01, response.Gearbox.InputSpeed);
if (!tcOp.Item2.IsBetween(dragTorque - inertiaTq - auxTqDemand, maxTorque - inertiaTq - auxTqDemand)) {
//if (tcOp.Item2.IsBetween(dragTorque - inertiaTq - auxTqDemand, maxTorque - inertiaTq - auxTqDemand)) {
_previousGearboxDisengaged = DataBus.GearboxInfo.DisengageGearbox;
DataBus.GearboxCtl.DisengageGearbox = true;
operatingPoint = SearchBrakingPower(
absTime, operatingPoint.SimulationDistance, gradient,
operatingPoint.Acceleration, response);
return operatingPoint;
}
//}
return null;
//return null;
}
private OperatingPoint AdaptDecelerationToTargetDistance(Meter ds, MeterPerSecond nextTargetSpeed,
......
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