question

Kelvin Barbosa avatar image
0 Likes"
Kelvin Barbosa asked Natalie White commented

Floworks: How do I select the loading arm according to the product?

Guys, I have a barge that has 2 compartments and the product to be loaded by compartment comes from a global table. How can I make the loading arm be activated according to the product drawn in the global table and, in case of different products, the loading be carried out simultaneously?

Teste_2_Compartimentos.fsm

FlexSim 23.1.3
FloWorks
· 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.

Natalie White avatar image Natalie White commented ·

Have you looked at tutorial 3.2, linked here? This covers multi-compartment loading and it may answer your question.

0 Likes 0 ·
Kelvin Barbosa avatar image Kelvin Barbosa Natalie White commented ·

Thanks for the answer!


Yes, I saw that tutorial, but from what I understand, every time I have a different product in the compartment, I have to insert a new multi-compartment loading and create a label for the berth to control. In the model I'm working on, several programming of different compartments can happen and, in my opinion, it makes the use of the example from tutorial 3.2 unfeasible. So I would like to use the Basic berth, so that the loading arms are activated according to the product that I am going to load in that compartment.

0 Likes 0 ·
Natalie White avatar image Natalie White commented ·
@Mischa Spelt, can you take a look at this question about Floworks?
0 Likes 0 ·

1 Answer

·
Mischa Spelt avatar image
1 Like"
Mischa Spelt answered Kelvin Barbosa commented

Hi @Kelvin Barbosa ,

I see that you have used a Basic FR with the Berth Process Flow template to model the situation. This would actually be my recommended approach as it gives you the most flexibility in the logic for the (un)loading process.

In this case, what I would do is the following:

1. Instead of loading all compartments sequentially, let them load in parallel by disabling "Run Tokens One at a Time" in the Run Subflow:

1692256093159.png This will allow all compartments to start at the same time, if you have loading arms available.

2. Read the data from the table, in the attached demo model I did a quick-and-dirty assign labels in the subflow to sample this. Of course you can also do this in another part of the Process Flow.

1692256418077.png

1692256911389.png

Note I changed the Programacao table to return a valid product name, so "Product 1" instead of "1" -- this is easier.

3. When acquiring a loading arm, make sure to get a loading arm with the right product.

I saw you had the products set on your flow sources, so I added a field to the resource:

1692256958898.png

and updated the acquire resource (note that Puller is spelled with a capital P here)

And when running the model you see that the first vessel that arrives has two different compartments that get loaded simultaneously:

1692257046070.png

and the second one has two compartments of the same type that have to share a loading arm:

1692257069770.png1692257079151.png


Here is the updated model: teste-2-compartimentos MS.fsm



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

Kelvin Barbosa avatar image Kelvin Barbosa commented ·

Hi @Mischa Spelt and @Natalie White,

Thank you very much!

This is exactly what I wanted to do

0 Likes 0 ·

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.