Table of Contents

Class VehiclePowertrainSetup

Namespace
LibreRally.Vehicle
Assembly
LibreRally.dll

Resolved drivetrain, engine, and thermal settings used to initialize vehicle powertrain simulation.

public sealed class VehiclePowertrainSetup
Inheritance
VehiclePowertrainSetup
Inherited Members

Properties

AirRegulatorTemperature

Gets the target air-regulator temperature in °C.

public float AirRegulatorTemperature { get; init; }

Property Value

float

AutoClutchLaunchRpm

Gets the launch RPM target used by the auto-clutch logic.

public float AutoClutchLaunchRpm { get; init; }

Property Value

float

BurnEfficiencyThrottle

Gets the throttle sample points for the burn-efficiency curve.

public float[] BurnEfficiencyThrottle { get; init; }

Property Value

float[]

BurnEfficiencyValues

Gets the burn-efficiency values aligned with BurnEfficiencyThrottle.

public float[] BurnEfficiencyValues { get; init; }

Property Value

float[]

CenterDiff

Gets the resolved centre differential configuration.

public DifferentialConfig CenterDiff { get; init; }

Property Value

DifferentialConfig

DriveFrontAxle

Gets whether the front axle receives drive torque.

public bool DriveFrontAxle { get; init; }

Property Value

bool

DriveRearAxle

Gets whether the rear axle receives drive torque.

public bool DriveRearAxle { get; init; }

Property Value

bool

DrivenWheelKeys

Gets the wheel keys driven by the resolved powertrain graph.

public string[] DrivenWheelKeys { get; init; }

Property Value

string[]

EngineBlockAirCoolingEfficiency

Gets the air-cooling efficiency applied to the engine block.

public float EngineBlockAirCoolingEfficiency { get; init; }

Property Value

float

EngineBlockTempDamageThreshold

Gets the engine-block damage temperature threshold in °C.

public float EngineBlockTempDamageThreshold { get; init; }

Property Value

float

EngineBrakeTorque

Gets the additional engine-braking torque in Nm.

public float EngineBrakeTorque { get; init; }

Property Value

float

EngineDynamicFriction

Gets the dynamic engine friction coefficient.

public float EngineDynamicFriction { get; init; }

Property Value

float

EngineFriction

Gets the static engine friction torque in Nm.

public float EngineFriction { get; init; }

Property Value

float

EngineInertia

Gets the engine rotational inertia in kg·m².

public float EngineInertia { get; init; }

Property Value

float

FinalDrive

Gets the final drive ratio applied after the gearbox.

public float FinalDrive { get; init; }

Property Value

float

FrontDiff

Gets the resolved front differential configuration.

public DifferentialConfig FrontDiff { get; init; }

Property Value

DifferentialConfig

FuelCapacityLiters

Gets the total fuel capacity in litres.

public float FuelCapacityLiters { get; init; }

Property Value

float

GearRatios

Gets the forward gear ratios used by the gearbox.

public float[] GearRatios { get; init; }

Property Value

float[]

HasTurbo

Gets whether the resolved engine includes a turbocharger.

public bool HasTurbo { get; init; }

Property Value

bool

IdleRpm

Gets the target idle speed in RPM.

public float IdleRpm { get; init; }

Property Value

float

MaxRpm

Gets the engine redline in RPM.

public float MaxRpm { get; init; }

Property Value

float

OilVolumeLiters

Gets the engine oil volume in litres.

public float OilVolumeLiters { get; init; }

Property Value

float

RearDiff

Gets the resolved rear differential configuration.

public DifferentialConfig RearDiff { get; init; }

Property Value

DifferentialConfig

ShiftDownRpm

Gets the automatic downshift threshold in RPM.

public float ShiftDownRpm { get; init; }

Property Value

float

ShiftUpRpm

Gets the automatic upshift threshold in RPM.

public float ShiftUpRpm { get; init; }

Property Value

float

StartingFuelLiters

Gets the starting fuel load in litres.

public float StartingFuelLiters { get; init; }

Property Value

float

TorqueCurveNm

Gets the engine torque values aligned with TorqueCurveRpm.

public float[] TorqueCurveNm { get; init; }

Property Value

float[]

TorqueCurveRpm

Gets the engine torque-curve RPM sample points.

public float[] TorqueCurveRpm { get; init; }

Property Value

float[]

TurboMaxBoostPsi

Gets the turbo wastegate pressure in PSI.

public float TurboMaxBoostPsi { get; init; }

Property Value

float