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 6e4dde56 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

fix in combustion engine: report available drag torque

parent 744e6390
No related branches found
No related tags found
No related merge requests found
......@@ -218,7 +218,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
EngineMaxTorqueOut =
VectoMath.Max(CurrentState.DynamicFullLoadTorque - auxTorqueDemand - CurrentState.InertiaTorqueLoss,
gearboxFullLoad ?? 0.SI<NewtonMeter>()),
EngineDragTorque = CurrentState.FullDragTorque,
EngineDragTorque = CurrentState.FullDragTorque - auxTorqueDemand - CurrentState.InertiaTorqueLoss,
Source = this,
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment