question

Adrián S4 avatar image
0 Likes"
Adrián S4 asked Adrián SC answered

Warehouse move - Task executer problem

Hi,

I'm building a model where I empty two different warehouses and move their flowitems to a bigger one.

warehouses-move.fsm

The problem is that I can't find out how to simulate the truck load/unload in order to get a true statistics.

When I run the model, the trucks don't wait until get filled to their maximum capacity and make more movements than they really need.

Besides I would like to introduce another transporter which transfer the flowitems to the truck from the last queue of each warehouse. In order to simplify the model I decided to add the load/unload time and include one transporter for each dock I have opened without connect them to anything (just for including them in the expenses report).

The aim of this simulation is to find where the bottlenecks are and include more transporters in order to make faster the move but without forgetting the cost.

Is there anyone who knows how to use the correct triggers?

Thanks in advance,

Adrian.

FlexSim 17.2.5
triggers
warehouses-move.fsm (791.6 KiB)
5 |100000

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

Jeff Nordgren avatar image
2 Likes"
Jeff Nordgren answered Adrián SC commented
@Adrián S4

Attached is your model with the changes that I've made to it. The easiest way to add the functionality that you are describing was to add a Process Flow to handle the loading/unloading of the trucks. I only did it for the one truck that loads in Area B. This is to show you how it can be done. Hopefully you could use this example to adapt it to your specific model needs.

Take a look at the model and see if something like this would work for you. If you have any questions or problems, please let me or anyone at Flexsim know. We are always happy to help.

Thanks.

warehouses-move-jn1.fsm


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

Adrián SC avatar image Adrián SC commented ·

Thanks for your reply Jeff. Sorry but I haven't seen it yet.

I'm going to apply your proposal with the proccess flow because it looks interesting to the aim of this project.

Thank you so much for your help.

0 Likes 0 ·
Adrián SC avatar image Adrián SC commented ·

Hi Jeff,

I have no idea what's happening with this other model because the main Rack ports should be closed after reaching the output limit (2 units).

I run the model twenty times and the Red and Yellow Rack's Outputs it's always correct but it's quite common the blue one allows more than two units. In the case of the Green Rack it also happens but it's not so frequent.

Are you able to find what's wrong? I've analized their properties panel and they are no differences among them. I've deleted them in order to create a new ones because it could be a Flexscript problem but it hasn't fixed the problem.

I'm really desperate.

By the way, is there any way to refill the Queue "Muelle Pallets" using the Source1 when the current(content) of the Queue was less than 60 units? I would like to add the posibility to make a new order of pallets (creating for example new 200 pallets) depending on a security stock.

warehouse-reception-40.fsm

Thanks in advance.

0 Likes 0 ·
Adrián SC avatar image Adrián SC Adrián SC commented ·

Hi again Jeff

I've found out how to refill the Queue Muelle Pallets and it works perfectly until the first shipment. After that the Task Executer doesn't fulfill the conditions established in the Muelle Pallets's OnExit Trigger. It continues transporting FlowItems in order to keep the Maximum Content of that Queue. I check the code but I don't know where the problem is.

Concerning of the Racks's closeoutput issue, I haven't been able to fix it yet.

warehouse-reception-50.fsm

Thanks in advance.

0 Likes 0 ·
Adrián SC avatar image Adrián SC commented ·

Hi Jeff,

I've just realized if I select the Repeat Random Streams Option, the blue, green and yellow Racks allow the Transporter6 to get five output units instead of four but it doesn't happen the same with the red one.

I hope it helps you to discover where it's located the problem.

warehouse-reception-6.fsm

Thanks in advance.

0 Likes 0 ·
Marcello Rosadini avatar image
1 Like"
Marcello Rosadini answered Adrián SC commented

Hi Adrian,

Probably the easiest way to properly simulate the load would be by using a combiner.

You would have the truck as a container object, the boxes as the filling objects and after the combining is done, you could set up the transport as a Task Executer Flow Item.

By using the combiner, you could also, easily set up a forklift or whatever transport you like, to bring the "filling" object to the truck. After your logic is working you can just hide the 3d shape for the combiner.

I have attached a simple sample model to guide you.

forum-answer.fsm


forum-answer.fsm (22.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.

Adrián SC avatar image Adrián SC commented ·

Thanks for your reply Marcello. Sorry but I haven't seen it yet.

I think that this solution doesn't fit to my purpose because I'm trying to simulate different situations in order to decide which is the best one and the trucks are a limited resource very important to take this decision.

The following situations have been analized in this simulation:

warehouses-move-a.fsm

warehouses-move-b.fsm

warehouses-move-c.fsm

I'm going to apply the Jeff proposal with the proccess flow because it looks interesting to the aim of this project.

Keep in touch.

0 Likes 0 ·
Adrián SC avatar image
0 Likes"
Adrián SC answered

Hi,

I've finally found where the problem is located. The condition was placed in the wrong Trigger.

Could it be possible to get help with the refill Queue Muelle Pallets issue?. It works perfectly until the first shipment. After that the Task Executer doesn't fulfill the conditions established in the Muelle Pallets's OnExit Trigger. It continues transporting FlowItems in order to keep the Maximum Content of that Queue. I check the code but I don't know what happens.

warehouse-reception-80.fsm

Thanks in advance.


5 |100000

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