This is the thread:

http://www.mycncuk.com/threads/1524-...2489#post42489

You have correctly identified the errors.

I made my own version, as a script posted here. I added calculations for efficiencies, friction in different parts and the pulley inertia's. The latter makes a big difference... after including those things I've found it to be a good match with reality.