question

JoseVM avatar image
0 Likes"
JoseVM asked Jeff Nordgren edited

Problem with task sequence after separator

Hi everyone,


I have a problem regarding to a really simple task sequence that I set in PF. This task is basically to make an Operator to load items from a Separator, and to unload them in a Processor.

To do that in PF, I used an Event-Triggered Source that creates token when "Send To Port" of the Separator is activated. The problem of this is that it also creates a token for the pallet, but I need the pallet to go directly to a Sink, without wasting the time of the operator. To do that I connected an A link from separator to sink, but then an error appears in the PF (picture attached). I wonder if someone can help me with this using PF please.

I hope I have been clear enough and thanks in advance!

question-task-separator-pallet.fsm

FlexSim 19.1.0
process flowtask sequenceseparator
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

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Jeff Nordgren edited

An easy way to do this is to make a second port connection from the separator to a queue right after the separator. Then the pallet will go to the sink and all the items will go to the new queue. Then rather than listening to the SendToPort of the separator you listen to the OnEntry of the queue.

26655-question-task-separator-pallet.fsm

Also the line of code in the Decide activity inside the Transporte desde el Almacén de entrada (Carro) container keeps throwing exceptions.


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

JoseVM avatar image JoseVM commented ·

Thanks @Matthew Gillespie, that was ingenious!

However, some problems occurred in the same file. I got some kind of error when I make those changes and I add a "Wait For Event" activity. The purpose of this "Wait for Event" activity is to permit the transporter to move the items only when those tiny-queues are empty. I noticed that the problem came when I add a second waiting requirement, since if you eliminate this second requirement the simulation goes on normally. Do you know why is that happening? I attached the file to better show it.

Thanks a lot.

question-task-separator-pallet.fsm

0 Likes 0 ·