Engine Simulation Program
The above is a program made from engine formulas, and some basic physics formulas. This has taken a while to get all of the formulas working together to simulate a motor in real time. The above was a test from the specs of a 2008 hayabusa motor. Given the bore, stroke, and max power outputs along with tweaking of some unknowns seems to give realisitic power curves if at least rough.
Click here for specs used.