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

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

Merge pull request #439 in VECTO/vecto-sim from ~EMKRISPMI/vecto-sim:bugfix/Correct-Gear-in-ATGearbox to develop

* commit '92ec11ab':
  ATGearbox: use correct gear variable
parents 96e82763 92ec11ab
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
var inAngularVelocity = outAngularVelocity * effectiveRatio;
var torqueLossResult = torqueConverterLocked
? ModelData.Gears[gear].LossMap.GetTorqueLoss(outAngularVelocity, outTorque)
: ModelData.Gears[Gear].TorqueConverterGearLossMap.GetTorqueLoss(outAngularVelocity, outTorque);
: ModelData.Gears[gear].TorqueConverterGearLossMap.GetTorqueLoss(outAngularVelocity, outTorque);
var inTorque = outTorque / effectiveRatio + torqueLossResult.Value;
......
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