question

Abderrahim Z3 avatar image
0 Likes"
Abderrahim Z3 asked Jacob W2 commented

Conditional Arrivals

Hi,

I want to make the pallets arrive at a constant rate (1 pallet/min) and queue up in Queue1 only if the combiner is idle otherwise no pallets arrive.

By doing this i want to make an analogy of a "charging phase" for the combiner (charges only if at rest). Once busy the discharging phase begins.

How can I get this effect please?

1652374295326.png

ConditionalPallets.fsm

FlexSim 22.0.0
arrivalspalletscondition
1652374295326.png (118.5 KiB)
· 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.

Patrick Cloutier avatar image
0 Likes"
Patrick Cloutier answered

As Jason and I are saying, you need to define exactly what happens and when. I personally like to write these rules in text before trying to code them.

For example:

  1. The first pallet automatically enters Queue1 and then the Combiner.
  2. When it enters the combiner, this closes the input of Queue1.
  3. When the pallets exits the combiner this opens the input of the Queue1.
  4. Back to 1

This is probably wrong because you will always have only 1 pallet in this queue.

And then these rules are put into the triggers of the object or in a ProcessFlow.

For the above example, you would have a TriggerOnEntry in the Combiner to CloseInput of Queue1 if Port==1 (pallets only).

And a TriggerOnExit in the Combiner to OpenInput of Queue1.

5 |100000

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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

Close the input of the combiner and then open it when you want to consume the pallets.

5 |100000

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