question

Horn H avatar image
0 Likes"
Horn H asked tannerp answered

Wait For Event Problem

Hi!

In attached model proedit-1.fsm .I set Trucks wait when Processor is processing ,then send the box when processor is Available by using Wait for Event in which the token will wait until the state of the processor is idle (state number 1). But That is not work .What's wrong with this?

Thanks

FlexSim 17.1.6
wait for eventwait foe event
tempsnip.png (46.1 KiB)
proedit-1.fsm (43.2 KiB)
proedit-1.fsm (43.2 KiB)
· 3
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 Jeff Nordgren commented ·

@Horn H,

Like @Matthew Gillespie mentioned in his post, it seems to work. So, I'm not sure what you want/need it to do. More information would be helpful.

Thanks.

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

What do you mean it's not working? It seems like Processor4 finishes processing an entire load and goes back to idle before the next load gets brought to it so the condition is always true.

-1 Like -1 ·
Horn H avatar image Horn H Matthew Gillespie ♦♦ commented ·

@Matthew Gillespie @Jeff Nordgren What I want is in case I have more trucks,First truck has to send the box first,and other trucks has to wait until Processor4 is available,then also send the boxes.But In my model It stops running at Wait for Event.It doesn't work as I want.

Thanks for your help.

0 Likes 0 ·

1 Answer

·
tannerp avatar image
0 Likes"
tannerp answered

Hi @Horn H,

Your entire Process Flow is set up to run Truck1 between Harvester1 and Processor4 using only ItemList1. If you want the other trucks to run as well, you will need to either create more Process Flows for each truck or put items into lists/groups that will allow them to work simultaneously.

One example of this would be to acquire a Truck from a group instead of just acquiring Truck1 every time. Does that make sense?

Before:

After:


only-truck1.png (9.4 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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