diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs index 6682c9725aa171e603600d371a8581beb71bbca1..976eeaf6ab494b8aaf1fe4e0345a165828b8ca05 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs @@ -319,11 +319,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl inTorque += inertiaTorqueLossOut / ModelData.Gears[Gear].Ratio; if (dryRun) { - var inertiaTorqueLossIn = avgOutAngularVelocity.IsEqual(0, 1e-9) - ? 0.SI<NewtonMeter>() - : Formulas.InertiaPower(outAngularVelocity, PreviousState.OutAngularVelocity, ModelData.Inertia, dt) / - avgOutAngularVelocity / ModelData.Gears[Gear].Ratio; - var dryRunResponse = NextComponent.Request(absTime, dt, inTorque + inertiaTorqueLossIn, inAngularVelocity, true); + var dryRunResponse = NextComponent.Request(absTime, dt, inTorque, inAngularVelocity, true); dryRunResponse.GearboxPowerRequest = outTorque * (PreviousState.OutAngularVelocity + outAngularVelocity) / 2.0; return dryRunResponse; } @@ -431,4 +427,4 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl base.DoCommitSimulationStep(); } } -} \ No newline at end of file +}