Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

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

Merge pull request #105 in VECTO/vecto-sim from...

Merge pull request #105 in VECTO/vecto-sim from ~EMQUARIMA/vecto-sim:feature/VECTO-179-refactor-input-data-handling-to to develop

* commit '91c15714':
  gearbox has no separate drag load limit
parents f4b756ab 91c15714
No related branches found
No related tags found
No related merge requests found
......@@ -277,8 +277,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
var curve = DataBus.GearFullLoadCurve;
if (curve != null) {
var gearboxFullLoad = curve.FullLoadStationaryTorque(CurrentState.EngineSpeed) * CurrentState.EngineSpeed;
var gearboxDragLoad = curve.DragLoadStationaryTorque(CurrentState.EngineSpeed) * CurrentState.EngineSpeed;
requestedEnginePower = VectoMath.Limit(requestedEnginePower, gearboxDragLoad, gearboxFullLoad);
// var gearboxDragLoad = curve.DragLoadStationaryTorque(CurrentState.EngineSpeed) * CurrentState.EngineSpeed;
requestedEnginePower = VectoMath.Limit(requestedEnginePower, -gearboxFullLoad, gearboxFullLoad);
}
return VectoMath.Limit(requestedEnginePower, CurrentState.FullDragPower, CurrentState.DynamicFullLoadPower);
......
This diff is collapsed.
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