question

Jainesh K avatar image
0 Likes"
Jainesh K asked Jeanette F commented

Using Shared assets in a Process Flow

Hi Everyone,

In this simulation I am trying to figure out

1. how can i move the trailers/trucks based on the resource acquired?

2. At any instance the ASRS should try to fill one dock at a time until the pallet quantity reaches 36 and then switch to filling other dock.

3. Same thing for the return pallets, it should try to fill one Side of the dock with 36 pallets and then switch to other side.


Any help is highly appreciated :)

Thanks.

@Felix Möhlmann @Jason Lightfoot


Shipping.fsm

FlexSim 21.2.4
processflowbatchingshared assets
shipping.fsm (121.3 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Jainesh K, was Kavika F'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

Kavika F avatar image
0 Likes"
Kavika F answered

Hey @Jainesh K, let me see if I can answer some of your questions.

1. I noticed that your "Resource: Trailers" was only referencing Truck1. If you want to use all of the Trucks, you can put them into a Group and then have the resource reference the group (like how you setup the "GA4 In Docks" Resource).

2+3. The reason the triggers weren't working like you wanted was because of the batching. When the queue was done batching, your trigger would fire and work properly; however, the batch also closes the input port, so once the queue was done emptying the batch, it reopens the input port. Here's an example of how you could model it.

1666308372471.png

I removed the A-Connections from the ASRS_to_Dock processor to the Docks. I have a trigger to spawn a token when a pallet is ready at the ASRS to move to a Stage. It assigns a Dock based off of a label I put on the Docks.

1666308417206.png

One label is "Ready" to let the Process Flow (PF) know that it's ready for pallets. The "OtherDock" is a reference to the alternate one. The PF will move pallets to the correct dock until they've batched 36. Then those 36 will move into the combiner you have. The token will then switch Ready to 0 on the current dock and switch Ready to 1 on the other dock.

switching-docks.gif

Hope this helps get you going.

shipping_1.fsm


1666308372471.png (44.2 KiB)
1666308417206.png (2.0 KiB)
switching-docks.gif (417.5 KiB)
shipping-1.fsm (126.3 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.