diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs index 47d28955057099230c16c27e37fc172b984b58f1..3750455858416d0cb0bfc767af19a0452c772b83 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs @@ -375,8 +375,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;// (PreviousState.OutAngularVelocity + + //CurrentState.OutAngularVelocity) / 2.0 * ModelData.Gears[Gear].Ratio; container[ModalResultField.Gear] = Disengaged || DataBus.VehicleStopped ? 0 : Gear; container[ModalResultField.P_gbx_loss] = CurrentState.TransmissionTorqueLoss * avgInAngularSpeed;