Run this software and connect the output to the electric car motor. You can now have the full experience of any engine you want while burning no fuel.
https://store.steampowered.com/app/2381620/Steam_Engine_Simulator/
Proof of concept: https://youtu.be/4U41OxHiqI8