question

Orlando P avatar image
0 Likes"
Orlando P asked Eric M commented

storage limit vs source random produce

Tentativa_1.fsm

Hey,

In my project I am creating random items where I make the distribution to different warehouses.

However, I am having difficulty distributing it evenly.

For example, I have a source that sends 3 types of items with different values to various stores:

red = 1, green = 2, blue = 3, yellow = 4, depending on the source. Destination warehouses are limited, however when a destination warehouse reaches its limit, the source stops producing items, and therefore does not reach the numbers of the remaining warehouses


FlexSim 21.1.2
agvflexsim 21.1.2
map.png (249.2 KiB)
random.png (44.0 KiB)
tentativa-1.fsm (80.8 KiB)
· 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.

Eric M avatar image Eric M commented ·

Hi @Orlando P, was my answer helpful? If so, please click the red "Accept" button at the bottom of the 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

·
Eric M avatar image
0 Likes"
Eric M answered Eric M commented

The problem is the sources are being blocked. You could increase the 'Deposito' queue size to more than 1, have the task executer take items with no room at the destination to a sink, or use some other kind of logic that checks if the destination is full and stops creating items of that type if it is full (this would take more work).

· 7
5 |100000

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

Orlando P avatar image Orlando P commented ·

Hi,

So far i did this way.. It works, it creates the items and the agv leaves them in the dropp point. My question is if there is other way to do it without doing if cycles.

Thanks.

Projeto_V4.fsm

0 Likes 0 ·
test1.png (39.9 KiB)
test2.png (35.7 KiB)
foto.png (139.3 KiB)
projeto-v4.fsm (98.3 KiB)
Eric M avatar image Eric M Orlando P commented ·

Do you already know how many items of each type are ever going to be in the model? You could replace the sources with process flow that creates all the objects and randomly assigns them to a queue. This way, you can specify how many of each type you want, and you could do without the 'if' statements. You will need to change the 'destino' label assignment from the source to the queue. You can also change the times for the process flow source and delay for when the objects are created. I've attached the model with some process flow that could work.

projeto-v4-em.fsm

0 Likes 0 ·
projeto-v4-em.fsm (100.7 KiB)
Orlando P avatar image Orlando P Eric M commented ·
Hello, it would be possible to make an example filling the warehouses with random values like 3,4,5,6 to understand the system.
0 Likes 0 ·
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.