Approach_Medium
Trainz Addict
Hi;
I have been doing some experimenting with AI on my mainline route.
It is mainly single track with passing tracks along the way. I am using Norfolksouthern37's Safetran 08 interlocking signals at the interlockings, and 06 diverging signals at the controlled sidings.
I observed the following when two trains were headed towards each other.
Train 1 is heading north at CP5
Train 2 is heading south at CP26
There are passing tracks between CP7 and CP10, and CP22 to CP26.
I have set AI to drive both trains to and via trackmarks I have installed.
Basically, I placed trackmarks wherever there are diverging routes so that I can tell AI which track I want the train to use.
I have set the southbound train to use the main track at CP26 and again at CP10.
The northbound train is on another track that merges into the single track main at CP10.
The southbound train takes the signal at CP22 and occupies the single track main before the northbound train reaches CP10, so the northbound has to wait; and does (although the train stops a little bit too close to the signal, IMO, so that the driver can no longer see the signal; he is almost directly underneath the gantry when he stops)
So the northbound train is sitting on track 1 at CP10 while the southbound is lined to take track 2 at the interlocking.
Funny thing happens; When the southbound train approaches the signal at CP10, it is a clear signal on track lined main to main. The train slows from the 40mph track speed it was going to 17mph before reaching the signal. Then it speeds up to 40mph again after passing the signal and the junction.
Why did the train slow on approaching a clear signal, and junction lined to a non-diverging route?
Also, I found that the AI trains do not heed restricting (approach, etc) signals if they are permissive; the AI train will slow at the signal, but then accelerate again until reaching the next restrictive signal.
Another thing about AI is that it uses DCC, which is so non-prototypical. The mile+ long train is moving at 32mph approaching an absolute stop signal, and slows to a stop over a distance of about 1/4 mile.
I wish that AI would use the cab controls with better physics than the DCC.
Maybe the next version of Trainz??
One more thing; When a train is approaching a signal, that signal will only "see" the train when it comes within 10KM (6.2mi) of the signal. This causes signals to indicate the wrong aspect, if the next interlocking signal is more than 10KM away.
I don't know, but this may have been the reason my southbound train slowed when approaching the clear interlocking signal. That signal was indicating advance approach, because the next interlocking was still indicating stop (more than 10KM distant), and there was one permissive signal between the two interlockings which was indicating approach.
Still, with the AI running DCC, it should have been able to accelerate fast enough so it would not have slowed so much approaching a clear signal (and had been clear when the train was 1 mile distant).
So it's not perfect. I only wish that I could create some scripts that would override the built-in code in Trainz. This may be possible, but I have to understand the method calls a bit further.
FW
I have been doing some experimenting with AI on my mainline route.
It is mainly single track with passing tracks along the way. I am using Norfolksouthern37's Safetran 08 interlocking signals at the interlockings, and 06 diverging signals at the controlled sidings.
I observed the following when two trains were headed towards each other.
Train 1 is heading north at CP5
Train 2 is heading south at CP26
There are passing tracks between CP7 and CP10, and CP22 to CP26.
I have set AI to drive both trains to and via trackmarks I have installed.
Basically, I placed trackmarks wherever there are diverging routes so that I can tell AI which track I want the train to use.
I have set the southbound train to use the main track at CP26 and again at CP10.
The northbound train is on another track that merges into the single track main at CP10.
The southbound train takes the signal at CP22 and occupies the single track main before the northbound train reaches CP10, so the northbound has to wait; and does (although the train stops a little bit too close to the signal, IMO, so that the driver can no longer see the signal; he is almost directly underneath the gantry when he stops)
So the northbound train is sitting on track 1 at CP10 while the southbound is lined to take track 2 at the interlocking.
Funny thing happens; When the southbound train approaches the signal at CP10, it is a clear signal on track lined main to main. The train slows from the 40mph track speed it was going to 17mph before reaching the signal. Then it speeds up to 40mph again after passing the signal and the junction.
Why did the train slow on approaching a clear signal, and junction lined to a non-diverging route?
Also, I found that the AI trains do not heed restricting (approach, etc) signals if they are permissive; the AI train will slow at the signal, but then accelerate again until reaching the next restrictive signal.
Another thing about AI is that it uses DCC, which is so non-prototypical. The mile+ long train is moving at 32mph approaching an absolute stop signal, and slows to a stop over a distance of about 1/4 mile.
I wish that AI would use the cab controls with better physics than the DCC.
Maybe the next version of Trainz??
One more thing; When a train is approaching a signal, that signal will only "see" the train when it comes within 10KM (6.2mi) of the signal. This causes signals to indicate the wrong aspect, if the next interlocking signal is more than 10KM away.
I don't know, but this may have been the reason my southbound train slowed when approaching the clear interlocking signal. That signal was indicating advance approach, because the next interlocking was still indicating stop (more than 10KM distant), and there was one permissive signal between the two interlockings which was indicating approach.
Still, with the AI running DCC, it should have been able to accelerate fast enough so it would not have slowed so much approaching a clear signal (and had been clear when the train was 1 mile distant).
So it's not perfect. I only wish that I could create some scripts that would override the built-in code in Trainz. This may be possible, but I have to understand the method calls a bit further.
FW