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

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

Merge pull request #348 in VECTO/vecto-sim from ~EMQUARIMA/vecto-sim:bugfix/VECTO-408-at-gearbox-set-gearbox-inertia to develop

* commit '2ef1aec3':
  set gearbox inerta to 0 for AT transmissions
parents a5a2cedb 2ef1aec3
No related branches found
No related tags found
No related merge requests found
......@@ -80,14 +80,15 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdapter
case CrossWindCorrectionMode.DeclarationModeCorrection:
retVal.CrossWindCorrectionCurve =
new CrosswindCorrectionCdxALookup(
DeclarationDataAdapter.GetDeclarationAirResistanceCurve(GetAirdragParameterSet(retVal.VehicleCategory, data.AxleConfiguration, axles.Count),
DeclarationDataAdapter.GetDeclarationAirResistanceCurve(
GetAirdragParameterSet(retVal.VehicleCategory, data.AxleConfiguration, axles.Count),
data.AirDragArea), CrossWindCorrectionMode.DeclarationModeCorrection);
break;
default:
throw new ArgumentOutOfRangeException();
}
retVal.AxleData = axles.Select(axle => new Axle {
WheelsDimension = axle.Wheels,
Inertia = axle.Inertia,
......@@ -150,7 +151,7 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdapter
throw new VectoSimulationException("At least two Gear-Entries must be defined in Gearbox!");
}
retVal.Inertia = gearbox.Inertia;
retVal.Inertia = gearbox.Type.ManualTransmission() ? gearbox.Inertia : 0.SI<KilogramSquareMeter>();
retVal.TractionInterruption = gearbox.TractionInterruption;
retVal.TorqueReserve = gearbox.TorqueReserve;
retVal.StartTorqueReserve = gearbox.StartTorqueReserve;
......
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