question

Maíra A avatar image
0 Likes"
Maíra A asked Maíra A commented

Turnout function (Railworks Library)

teste_amv2.fsm

How can i represent a turnout function in the RailWorks Library? I need to avoid collisions in situations like that, making the other train choose a different way.

FlexSim 22.2.0
libraryrailworksturnout
teste-amv2.fsm (65.8 KiB)
· 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.

Andrew O avatar image Andrew O commented ·

Hi @Maíra A, was Pedro Ortelani's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·
Maíra A avatar image Maíra A Andrew O commented ·

Hi @Andrew O ,


I've asked him about my doubt. Waiting for an answer, thank you.

0 Likes 0 ·

1 Answer

·
Pedro Ortelani avatar image
1 Like"
Pedro Ortelani answered Maíra A commented

Hi Maira,

You can control the locomotive destination via the MoveTrain processflow activity, the solution in the case pointed by the model "teste_amv2.fsm" would be to create a MoveTrain activity that has the "Rail4" object as its destination for one of the locomotives.

Then the other locomotive can pass throught the "Rail2", and when it does, you trigger another MoveTrain to get the waiting locomotive to the initial destiny (RailControlPoint1 for the TrainSource1 locomotive and RailControlPoint2 for the TrainSource2 locomotive).

This kind of maneuver is created through logic on Processflow.

I hope it helps.

· 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.

Maíra A avatar image Maíra A commented ·
Hi @Pedro Ortelani,


Thank you so much for your answer, but I can't fixed the railway that the train will take, i would like that it happens automatically avoiding collisions between the trains.

0 Likes 0 ·
Maíra A avatar image Maíra A Maíra A commented ·

I thought that the auto adjustment existent in the Route Algorithms turn the library able to do that.

https://docs.flexsim.com/en/22.1/modules/RailWorks/manual/RouteAlgorithms.html

0 Likes 0 ·
Lucas Klein avatar image Lucas Klein Maíra A commented ·
Hi Maira, sorry for the delay to answer your question.

Thanks for your feedback, this indeed might be a bug in the route algorithm. We are working on it for the next release

1 Like 1 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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