Hemiptera Bugtracker at bugs.linux-forks.de

advtrains

Load-balancing or alternative routes

Send replies to 125@bugs.linux-forks.de or using the Form below.
avatar From: OP
Thu, 18 Apr 2019 07:17:01 -0000

An option should be added to signals so alternative routes can be

selected in the case one route is occupied. This can be used to spread

trains in terminal stations or to balance load amongs two tracks.

avatar From: Someone else
Thu, 07 Nov 2019 00:56:01 -0000

This is already supported by default fall-through behaviour. For

example, if you have a signal with two routes, each with * rule, and the

first route can't be set, the train will set the second route.

avatar From: Someone else
Sat, 30 Nov 2019 14:34:02 -0000

The problem would be that the alternative route is be chosen *only* when the other one is not available. By that time the line would already be jammed.

avatar From: Developer
Mon, 02 Dec 2019 07:04:01 -0000

> This is already supported by default fall-through behaviour. For

> example, if you have a signal with two routes, each with * rule, and the

> first route can't be set, the train will set the second route.

no, it doesn't.

The system as it is designed now permits only for "waiting" for one

route at a time. It would require a change in update_route() to make an

useful "load balancing" approach possible. This is certainly one of the

things to do soon.

avatar From: Developer
Sun, 06 Sep 2020 20:07:01 -0000

Along with this feature, it could be useful to add a priority system, to

prioritize routes/trains when multiple routes wait for the same section.

This could be very difficult though.

Reply