Tautrimas wrote:I used discussion page on YAPP wiki article, but it may seem interesting to other also. Its about leaving a gap after junctions.
To add more, maybe anyone has nice RoRo station solutions? I'm going to publish mine's a bit later.
I just read your wiki posting. I haven't noticed any problem with YAPP yet. Can you please explain what the "gap-after-junction" problem is? I never realized a train entering a junction too early and I never had a crash caused by YAPP. Only crashes I forced by reconfiguring junction at an in adequate moment.
zombie wrote:I just read your wiki posting. I haven't noticed any problem with YAPP yet. Can you please explain what the "gap-after-junction" problem is? I never realized a train entering a junction too early and I never had a crash caused by YAPP. Only crashes I forced by reconfiguring junction at an in adequate moment.
Thanks A LOT for clearing things up. That perfectly makes sense. I think your solution with the "inverted" signal does not look very nice but it really solves the problem. That problem did not appear in my games because I did not setup high load tracks with YAPP yet. In each of my YAPP games there was plenty of room beyond junctions without traffic jams.
But I'm afraid a bit of the penality train aquires when it passes the back of a signal. It may then choose other route that is not optimal in reality. In that case, rebalancing of penality would help, but then other problems arouses on so on...
That's true for sure. I usually just place PBS signals at junctions and stations and stick to the standard signals on straight tracks. This way I can set that penalty to a very low value that it does not have any major influence on the path finder.
Tautrimas wrote:But I'm afraid a bit of the penality train aquires when it passes the back of a signal. It may then choose other route that is not optimal in reality. In that case, rebalancing of penality would help, but then other problems arouses on so on...
Just don't place any signals in these places, they are simply undeeded. If you think you need them, please tell us exactly why you need them and what your actual problem is.
After several nice tests, I managed to find out that aditionals signals are not needed. Junctions are operating at full potential with gaps. Nice to realize something by actually testing it (: Sorry about misleading proposals and thoughts.
Sorry for double-posting. It occationally happens that when a train comes to station and goes near the PBS signal to head for free platform it stops. Important part is that there are available platforms! The stop happens only for a sec or so, but it is evil because of the slow down. It seems that the train is thinking where to go, which path to reserve. Is it possible to make it not stop at junction?
sometimes i noticed this stop'n'go behavior myself, but i have no way of reliably reproducing it
it may just be side effect of somekind, but not that common nor serious imho
also it would be nice to have some kind of "signal" which is not considered a safe waiting location, so trains can bypass them/reserve a path to the next safe waiting position through them in one way but not the other, without stopping there.
this would help in with traffic flow when there's not enough room (cities have grown, or i don't want to bulldoze a mountain, etc) to have a train length worth of waiting track between a junction and a terminus, and there may be other cases where this could come in handy. but this is a minor problem.
razielanarki wrote:also it would be nice to have some kind of "signal" which is not considered a safe waiting location, so trains can bypass them/reserve a path to the next safe waiting position through them in one way but not the other, without stopping there.
this would help in with traffic flow when there's not enough room (cities have grown, or i don't want to bulldoze a mountain, etc) to have a train length worth of waiting track between a junction and a terminus, and there may be other cases where this could come in handy. but this is a minor problem.
I have already made a detailed concept of signals which are unsafe waiting locations in this wiki article. The great thing about these signals are that they would also allow things like realistic bi-directional double track, as described in my article. However, these signals require a different type of reservation, which I call a "weak" reservation.
Tekky wrote:I never had any such problems. Please post a screenshot and possibly also a savegame, then I will be able to help you.
I think I've found one example. The game is not mine, but anyways. Here you see a train waiting at a PBS signal before a big station:
waiting.png (61.73 KiB) Viewed 3214 times
However, it is clearly seen, that a free path exists. It waits for a second or so and goes a different way. The only reason to wait is the distance to a platform. Taking a tunnel means twice as long to go, but it should take it, shouldn't it? I'm also attaching a savegame with exact moment paused.
P.S. combo signals and presignals in general are used only for the visual tracking purposes. I suppose, they shouldn't do any influence on PBS.
Tekky wrote:I never had any such problems. Please post a screenshot and possibly also a savegame, then I will be able to help you.
I think I've found one example. The game is not mine, but anyways. Here you see a train waiting at a PBS signal before a big station:
However, it is clearly seen, that a free path exists. It waits for a second or so and goes a different way. The only reason to wait is the distance to a platform. Taking a tunnel means twice as long to go, but it should take it, shouldn't it? I'm also attaching a savegame with exact moment paused.
P.S. combo signals and presignals in general are used only for the visual tracking purposes. I suppose, they shouldn't do any influence on PBS.
It's a shame that path reservations are not visible. What sometimes happens is that a train comes from the right lane, but then reserves a path to the left-lane-exit. All trains in the center will get blocked, because there is no free path to any other exit, and wait at a signal.
You can show path reservations with a patch option...
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.
______________ My patches
check my wiki page (sticky button) for a complete list
Youri219 wrote:It's a shame that path reservations are not visible. What sometimes happens is that a train comes from the right lane, but then reserves a path to the left-lane-exit. All trains in the center will get blocked, because there is no free path to any other exit, and wait at a signal.
In my example, all trains have reserved paths and they are visible. The most left one is half a tile away from the signal.
Tautrimas wrote:
However, it is clearly seen, that a free path exists. It waits for a second or so and goes a different way. The only reason to wait is the distance to a platform. Taking a tunnel means twice as long to go, but it should take it, shouldn't it? I'm also attaching a savegame with exact moment paused.
P.S. combo signals and presignals in general are used only for the visual tracking purposes. I suppose, they shouldn't do any influence on PBS.
YAPP itself has nothing to do with finding the path, that's the job of YAPF or NPF. YAPP is extending these two to also take reserved tracks into account when searching for the best path. But if the pathfinder decides the best path is through a reserved tile, the train waits. As moving trains constantly change the set of reserved tiles, the current best path also changes.
As one of YAPP's goals was to not change the exisiting game behavior, non-yapp signals certainly influence the pathfinder's decision.
razielanarki wrote:also it would be nice to have some kind of "signal" which is not considered a safe waiting location, so trains can bypass them/reserve a path to the next safe waiting position through them in one way but not the other, without stopping there.
(...)
I have already made a detailed concept of signals which are unsafe waiting locations in this wiki article.
(...)
However, these signals require a different type of reservation, which I call a "weak" reservation.
I was thinking along the lines of how one way roads are handled, trains would never stop and wait at these "signals" (i dont know if that's possible code/signal logic-wise), they would always pass them, just never from the backside. But as i said this is a minor thing.