Train privilages block
Posted: Thu Jan 26, 2017 6:45 am
Problem:
When i start using trains, i make trains from 1 locomotive + 4 cargo. My entire infrastructure was adjusted to this setting and work perfectly. But on in some time this small setting wasn't enough. So next tracks with semaphores was build for train consisting of 3 locomotive + 8 cargo. I connect both train network, because the new branch make products for old branch of fabric. And everything works, but only for some time. In some conditions, my new trains choose track by old branch witch was maladjusted for long trains and i has deadlocks. This happen rarely, when semaphores states block route, but still. My current solution is separation this two branches of tracks, but is hard to manage, and i hasn't so fun train architecture .
Solution:
The solution is, blocks with privileges. An additional semaphore, when i choose signal like in circuit network, and trains can't exceed it if it hasn't privilages. For my described network, 5 long trains can choose any track, but 11 long trains can't pass privileges semaphore on track which leads to old branch of fabric.
I think this is not so hard to implement, but correct me if i'm wrong.
When i start using trains, i make trains from 1 locomotive + 4 cargo. My entire infrastructure was adjusted to this setting and work perfectly. But on in some time this small setting wasn't enough. So next tracks with semaphores was build for train consisting of 3 locomotive + 8 cargo. I connect both train network, because the new branch make products for old branch of fabric. And everything works, but only for some time. In some conditions, my new trains choose track by old branch witch was maladjusted for long trains and i has deadlocks. This happen rarely, when semaphores states block route, but still. My current solution is separation this two branches of tracks, but is hard to manage, and i hasn't so fun train architecture .
Solution:
The solution is, blocks with privileges. An additional semaphore, when i choose signal like in circuit network, and trains can't exceed it if it hasn't privilages. For my described network, 5 long trains can choose any track, but 11 long trains can't pass privileges semaphore on track which leads to old branch of fabric.
I think this is not so hard to implement, but correct me if i'm wrong.