question

Gregoire Castagna avatar image
1 Like"
Gregoire Castagna asked viviane-b commented

Train crossover with railworks library

Hi,

I'm testing the route algorithm in Railworks library, with a simple model. I'd like the algorithm to send one train on the direct path and the other one on the crossover path to avoid collision. So far I can only get the two trains to stop when facing each other. Is there a way with the railworks library to handle such situations without having to create the all process flow involved to manage such crossovers?

Thanks a lot for your help,

Gregoire


crossover_intent.fsm

FlexSim 24.0.0
railworks
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Arun Kr avatar image Arun Kr commented ·
0 Likes 0 ·
jourjinaalex avatar image jourjinaalex Arun Kr commented ·
@Lucas Klein could yo help me on something please
0 Likes 0 ·
Lucas Klein avatar image Lucas Klein jourjinaalex commented ·
Absolutely @jourjinaalex , just please create a new question here on the forum so I can answer directly in your post.
0 Likes 0 ·
Show more comments

1 Answer

Lucas Klein avatar image
2 Likes"
Lucas Klein answered viviane-b commented

Hello Gregoire,

This is a very important topic on railways simulation because when handling with crossovers, intersections, bifurcations and detours, there is an infinity of scenarios in railways operations, this can happen due to priority rules, operational protocols, traffic strategies and so on, so it's a very debated topic while developing RailWorks so we can provide a flexible solution for each case, and we know that this brings a lot of effort for simple-looking operations.

For your model, there is not an automatically way to RailWorks solve crossovers yet, so you need to create the processFlow to manage which train will go through the detour and which one should proceed straight ahead. Follows attached a model where you can find a way to manage the crossover using resources on ProcessFlow, so when two trains are trying to cross the detour is used, but if you have only one train, it will not use the detour
crossover-intent_FX.fsm

If you have an idea that might solve this situation, please feel free to create an idea here in FlexSim Answers with railworks topic or directly email our dev team at [email protected]


· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Gregoire Castagna avatar image Gregoire Castagna commented ·

Thanks Lucas,

We manage several rail transport operations in different countries, and indeed such regulation questions can be tricky. Your proposal is interesting, although we should probably create the same logic on both trains (basically the condition to leave a station is that the next block is free and you can book a position in the following station, otherwise you stay in your current position).

This is basically recreating the network regulator logic, and I know for developping such models before that the simple logic above will lead to deadlocks, you have to look several blocks ahead and include prioritization rules.

Thanks again for your answer,

Grégoire

0 Likes 0 ·
viviane-b avatar image viviane-b Gregoire Castagna commented ·

Hello, Gregoire.

As a complementary solution to Lucas Klein's, it is also possible to use the Resource activity with a group of Rails available to send trains to detours. The trains will acquire a resource (the rail selected on the Acquire will respect the order of the group items, therefore can be organized by priority) and then with the help of a Decide, choose to use the main track or take the detour. As desmonstrated on this model:

crossover-intent-resource.fsm

Using a group of Rails as a resource can also help in developing logics in which a train needs to wait for a section of the track to be free to leave.

1 Like 1 ·