I am trying to write a piece of software to make a model train controllable in the same way that a real diesel locomotive is. Obviously I can't emulate a real diesel engine, and a functional air brake system on 1:87 scale, and certainly not using only software. So I need some insight from people who have driven locomotives. NO SOFTWARE KNOWLEDGE IS NEEDED, if you have driven a locomotive please don't think you don't have "the knowledge" to answer this.
One of the most obvious things I'll have to replicate is the behavior of a notched throttle. Having never driven a train before, I simply assumed that something like:
(the notch/8) * 100
Would give me my speed as a percentage of my max speed. However in fiddling in RailWorks train simulator 2015 (closest I could get to the real thing here at home haha) I found this not to be the case. In RailWorks, the notch of the throttle seems to only control how quickly the train accelerates to it's max speed. (I did test this with no cars, so that may affect this, but I'm trying to keep it simple by not taking load weight into account just yet) For example, if I have an F7 unit idling, and I put it in forward, and I take all the brakes off, and I put the throttle notch on 1, then it starts moving. The speedometer slowly, but surely, climbs up, and if I wait 2-3 minutes I'm at 50mph without having touched anything. Is this accurate to how a locomotive really behaves?
Once I figure out the notching system and how to get the speed of the train based on the notch of the prime mover, then I'll jump into braking. For now I need to get a notch system that's as accurate as it can be (within reason, obviously there is a point where "good enough is good enough")
One of the most obvious things I'll have to replicate is the behavior of a notched throttle. Having never driven a train before, I simply assumed that something like:
(the notch/8) * 100
Would give me my speed as a percentage of my max speed. However in fiddling in RailWorks train simulator 2015 (closest I could get to the real thing here at home haha) I found this not to be the case. In RailWorks, the notch of the throttle seems to only control how quickly the train accelerates to it's max speed. (I did test this with no cars, so that may affect this, but I'm trying to keep it simple by not taking load weight into account just yet) For example, if I have an F7 unit idling, and I put it in forward, and I take all the brakes off, and I put the throttle notch on 1, then it starts moving. The speedometer slowly, but surely, climbs up, and if I wait 2-3 minutes I'm at 50mph without having touched anything. Is this accurate to how a locomotive really behaves?
Once I figure out the notching system and how to get the speed of the train based on the notch of the prime mover, then I'll jump into braking. For now I need to get a notch system that's as accurate as it can be (within reason, obviously there is a point where "good enough is good enough")