I have identified and corrected some issues:
- Wheel radius was not taken into account in calculations. As wheel radius is usually in the order of magnitude of 1m, this had a minimal impact.
- The minimum inertia moment was too high.
- I removed some tentative fixes that eliminated the contribution of wheel inertia to train speed. This had to be added because of the high inertia.
- During wheelslip the adhesion coefficient was reduced to zero. Experimental tests suggest that the real figure is a 30%-50% of total adhesion. The formula has been corrected to reflect this.
- The adhesion integration time has been reduced, removing the need of an stability correction (to be more carefully ensured).
It is going to be challenging to keep backwards compatibility, as some formulas were wrong, but I'll ensure everything works as before to a reasonable extent. I hope I can achieve it by reducing the default moment of inertia.
Any feedback is welcome. Please take into account that I haven't yet reduced the default inertia, so results will be inaccurate for locomotives without ORTSInertia().
I'd like to implement slip control too.