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

Allow emergency shift if engine speed is already 1rpm below max speed (driver...

Allow emergency shift if engine speed is already 1rpm below max speed (driver model searches to this operating point in case the engine speed is too high)
parent 166ab816
Branches
Tags
No related merge requests found
...@@ -90,7 +90,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl ...@@ -90,7 +90,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
{ {
return return
(outAngularSpeed * GearboxModelData.Gears[gear.Gear].Ratio).IsGreaterOrEqual(VectoMath.Min(GearboxModelData.Gears[gear.Gear].MaxSpeed, (outAngularSpeed * GearboxModelData.Gears[gear.Gear].Ratio).IsGreaterOrEqual(VectoMath.Min(GearboxModelData.Gears[gear.Gear].MaxSpeed,
DataBus.EngineInfo.EngineN95hSpeed)); DataBus.EngineInfo.EngineN95hSpeed - 1.RPMtoRad()));
} }
public override GearshiftPosition NextGear => _nextGear; public override GearshiftPosition NextGear => _nextGear;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment