question

WillRS avatar image
0 Likes"
WillRS asked WillRS commented

How can I prioritize loading in a task executer?

Hello!

The attached model represents the sugar cane process.

I would like the TE "Transbordo" unload the items into the same "Treminhao" that is already loading, before starting to fill a new "Treminhao".

I thought about making a logic of pulling the train from a TE list, but I couldn't do it.

Can someone help me?

Novo modelo Cana_v2_FlexSim23.2_Teste Prioridade Treminhao.fsm

FlexSim 23.2.1
proces flowtaskexecutorsusing lists
5 |100000

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

1 Answer

Matheus Coelho avatar image
0 Likes"
Matheus Coelho answered WillRS commented

Hi, Will. To solve your problem, you can use a list instead using a acquire resource for "Treminhao", and use a order by to choose the fullest load "Treminhao". And I add a label "disponivel" for a pull from list do not choose a "Treminhao" already full. I did those ajusts in your model.

novo-modelo-cana-v2-flexsim232-teste-prioridade-tr_Ajuste.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.

WillRS avatar image WillRS commented ·

It worked as I needed!

Thank you very much!

1 Like 1 ·