diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs index 8c4ef7bf0457b9f54624909d57c82f569e7baf0d..13f4ba20f0e8f152ce4b393c8dc67e7a44e50bd4 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs @@ -265,8 +265,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl protected override void DoWriteModalResults(IModalDataContainer container) { - var avgInAngularSpeed = (PreviousState.OutAngularVelocity + - CurrentState.OutAngularVelocity) / 2.0 * ModelData.Gears[Gear].Ratio; + var avgInAngularSpeed = (PreviousState.InAngularVelocity + + CurrentState.InAngularVelocity) / 2.0; container[ModalResultField.Gear] = Disengaged || DataBus.VehicleStopped ? 0 : Gear; container[ModalResultField.TC_Locked] = TorqueConverterLocked;