Spent some time setting up an engine performance simulation with multiple variables that aim to realistically affect the performance of the engine. Here is an in-game demonstration of that simulation, torque and gear speed curves. Now this can be plugged into the physics engine on forces that are applied to the drive wheels of the car.