question

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

Couple a group of wagons correctly

Testing the Railworks Library, appling the first FlexSim tutorial, the wagons are piled when i use the "Couple Wagons" function. I would like to see a queue of wagons, one behind the other. How can i do that?


Railworks_tutorial1.fsm

FlexSim 22.2.0
queuerailworkscouplewagons
· 1
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 Lucas Klein'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 ·

1 Answer

Lucas Klein avatar image
1 Like"
Lucas Klein answered Maíra A commented

Hi @Maíra A

This problem is being caused because the rail where the wagons are created is too short, that way the wagons get off the rail:

1671459081363.png


To solve this issue, you just need to increase the length of the rail and the wagons should work fine:

1671459125179.png

1671459137505.png


1671459081363.png (22.2 KiB)
1671459125179.png (35.4 KiB)
1671459137505.png (20.2 KiB)
· 3
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 ·

Hello @Lucas Klein!


Thank you for your answer. I did that and didn't work...Can you observe the issue?

Railworks_tutorial1_2.fsm

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

Oh, I see.

In this case, when you increased the length of the rail, your RailControlPoint was moved together to the end of the rail:

1671471364504.png

So the wagons still be off the rail when created.

You need to move the RailControlPoint to a position where all wagons have rail underneath them to work, just like the picture below:

1671471706204.png


0 Likes 0 ·
1671471364504.png (23.6 KiB)
1671471706204.png (65.3 KiB)
Maíra A avatar image Maíra A Lucas Klein commented ·
Great! Thank you!!
0 Likes 0 ·