mudbuggy, what you're describing is on the absolute edge of being impossible.

you would need to accurately simulate an engine and all of the possible flaws it has, without knowing all of the possible flaws of an engine.

and even if you could create this theoretical engine, it would be foolish to base adjustments off of it, since EVERY motor is different.