//---------------------------------------------------------------------------------------
 //-------------------------------- Constructors -----------------------------------------
 //---------------------------------------------------------------------------------------
 public Drivetrain(TorqueCurve torqueCurve, double[] gearRatios, double gearRatioFinalDrive,
                   EngineTuning engineTuning,
                   TransmissionTuning transmissionTuning, TransmissionGearsTuning transmissionGearsTuning,
                   DifferentialTuning differentialTuning, DifferentialGearsTuning differentialGearsTuning)
 {
     this.engine       = new Engine(torqueCurve, engineTuning);
     this.transmission = new Transmission(gearRatios, transmissionTuning, transmissionGearsTuning);
     this.differential = new Differential(gearRatioFinalDrive, differentialTuning, differentialGearsTuning);
 }
Beispiel #2
0
    private double torqueIncreaseRatioTuning;                   // Increase in output torque from tuning



    //---------------------------------------------------------------------------------------
    //-------------------------------- Constructors -----------------------------------------
    //---------------------------------------------------------------------------------------
    public Differential(double gearRatioFinalDrive, DifferentialTuning differentialTuning, DifferentialGearsTuning differentialGearsTuning)
    {
        this.gearRatioFinalDrive       = gearRatioFinalDrive + gearRatioFinalDrive * differentialGearsTuning.GetPercentageIncrease();
        this.torqueIncreaseRatioTuning = differentialTuning.GetPercentageIncrease();
    }