Throttle bug in recent OR builds
#1
Posted 18 February 2020 - 05:50 AM
Corrollary to this is a perpetual wheelslip indication and erroneous power readings (i.e. greater than zero) for for locomotives that are unpowered (such as cabooses that are specified as locomotives to use a 3D cab).
#2
Posted 18 February 2020 - 12:23 PM
I have done a quick test with my test stock, and it appears to be working ok in the latest unstable version.
Can you please recheck the outcome with the latest unstable version, and my test stock and confirm whether problem still exists or has now been corrected?
If you believe that it still exists in the latest unstable version, can you send me the log file, and describe the testing scenario that you used with the test stock so that I can reproduce the issue in my test environment.
Thanks
#3
Posted 18 February 2020 - 01:39 PM
I am considering the possibility that it may be related to the nonlinearity of the throttle. As is correct for EMD locomotives, the engine speed in Run 1 is the same as idle (actually, it decreases slightly, which is generally what happens in the real world as load is introduced), with engine speed increasing in Run 2 through Run 8 (the amount per notch depends on the locomotives, with the 567C in the GP9 topping out at 835, and the 567B in the GP7 topping out at 800).
EDIT: I just ran a test where I retrofitted the throttle notches and an ORTS diesel block containing only my 567B RPM tab to your test locomotive, and it responds to the throttle exactly as it should. Something in the current GP7 and GP9 physics is what's causing the issue, but I'm at a loss as to what it might be. The next step was to add the whole 567B ORTS diesel block from the GP7 - with the whole block, the locomotive now has the throttle problem. Systematically, I deleted several blocks of data to see which might be the culprit, since an OR diesel block containing only the RPM tab works as it should:
-Removing the diesel torque table does not solve the problem
-Removing the fuel consumption table does not solve the problem
-Removing the diesel power table crashes the sim
-Removing the rest of the variables does not solve the problem
I suspect that the culprit is an interaction between the throttle RPM table and the diesel power table, however, it can't be tested because you can't remove this table without removing everything but the RPM table.
EDIT 2: I have isolated the problem.
-You can remove the diesel power tab if you also remove the diesel torque tab. This does not solve the problem.
-Removing the maximalpower parameter does not solve the problem.
-Removing the diesel power tab (along with the torque tab) and the maximalpower parameter solves the problem. However, then the power curve will become linear, which is not correct.
#4
Posted 18 February 2020 - 03:29 PM
Which GP7 unit were you experiencing the problem with?
Can you give me a step by step test scenario so that I can see what you are seeing?
Thanks
EDIT: One thing that I notice in the INC file is that the RpM change up rate is a lot faster then the change down rate, so it will take longer for the rpm to drop, then rise.
The fact that the TAB is non-linear should not make any difference.
#5
Posted 18 February 2020 - 03:59 PM
The slower power down is correct. A 567 throttles up slightly faster than it throttles down. When the offending parameters are removed, the engine responds as it should.
#6
Posted 18 February 2020 - 04:27 PM
I will look into it.
#7
Posted 18 February 2020 - 04:56 PM
#8
Posted 18 February 2020 - 06:03 PM
It was a piece of (pre-existing) code that was comparing the diesel engine output power with the rail hp. If the rail hp exceeded the output power then it would hold the RpM at this equivalent value.
I don't understand the logic behind this code and the reason for it inclusion, as it would never be expected that rail hp should exceed the diesel output power, provided power settings are correctly set.
For the time being I have disabled it in a patch just uploaded to the unstable version. Please check and confirm that this corrects the issue that you have raised?
If anybody is able to shed any light on the purpose of this section of code, I would be happy to hear from them.
Thanks
#9
Posted 18 February 2020 - 07:04 PM
#10
Posted 18 February 2020 - 10:39 PM
ErickC, on 18 February 2020 - 07:04 PM, said:
ErickC, on 18 February 2020 - 07:04 PM, said:
It shouldn't be necessary to go to the effort of developing traction force curves, unless you really want to do it.
I will be interested in the outcome that you achieve.
I am particularly interested in how you have set up the prime mover, as this is still a grey area for me at the moment.