question

Najla AN avatar image
0 Likes"
Najla AN asked Haneen A commented

Flowitems pull items from conveyor

Hello,

I am working on a baggage handling system, and currently, I am struggling to find how a passenger can take baggage off a conveyor, I have attached 2 models, the first one works as I want, passengers pull bags off the conveyor, and when I continued working on it and added 4 more conveyors and more entrance gates, it stopped working as before, passengers don't pull their luggage off the conveyor.

In the simulation, it creates photoeyes that the bags will go over then it triggers a pull action that the passenger flow item will do. what is causing the problem seems to be only one passenger which is the first one with id1. passenger with id1 is not pulling the assigned bag to it.

can you help me with a solution that will make the passenger pull the luggage off the conveyor

@Raja Sekaran

@Cliff King

@jason.lightfoot

@Jeff Nordgren

@Mischa Spelt

@Ben Wilson

your help would be really appreciated.

Thank you so much.

one-conveyor.fsm

5 conveyors.fsm


FlexSim 20.2.0
processflowconveyorsflexsim 20.2.0photo eyeflowitems
one-conveyor.fsm (5.5 MiB)
5-conveyors.fsm (4.5 MiB)
· 6
5 |100000

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

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

@Najla AN,

Here are a few items that could be useful for you:


I've closed your older question as a duplicate.

1 Like 1 ·
Najla AN avatar image Najla AN Ben Wilson ♦♦ commented ·

Sorry, I worked on the errors and exceptions and posted without deleting my previous questions, i was planning to delete it and forgot to.

Thanks for your tips.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Isn't this a duplicate post? It's posted here already where I wrote:

"Your model isn't repeatable and has many exceptions - the first thing would be to get it repeating so that the exceptions happen at the same time every run and then they can be debugged. Once they're eliminated the cause of your issue, if it still persists, can be investigated."

Is it now repeatable? Have you eliminated some or all of the exceptions?

0 Likes 0 ·
Najla AN avatar image Najla AN Jason Lightfoot ♦♦ commented ·

Yes, my model works fine with no exceptions

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Najla AN commented ·

Okay - great. The model seems to be the same as this one here posted by @Haneen A, and I notice you're an educational establishment. Is this coursework or a project and are you working on it together?

0 Likes 0 ·
Show more comments

1 Answer

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Haneen A commented

It looks like you have a different structure in place for the 5 conveyor model than the one conveyor. The bag matching is not instanced by the Passenger in the 1 conveyor model but is in the 5 conveyor.

I would recommend leave the bag matching as non-instanced and have a global passenger list partitoned by the person. That way any pulls will be matched.

· 9
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 Jason Lightfoot ♦♦ commented ·

@Najla AN It also looks like some of the photoeyes are not located on the conveyor path so they never fire.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Jason Lightfoot ♦♦ commented ·

Somehow some of the photoeyes also get located on the conveyor tree which shouldn't happen. Looking into the create photoeye code to debug.

1 Like 1 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Jason Lightfoot ♦♦ commented ·

@Najla AN Here's an updated model. I've restricted the photoeyes to one conveyor for now but will try to get the others working when I get a chance.

5-conveyors2_jl2.fsm

1 Like 1 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Jason Lightfoot ♦♦ commented ·

Here's a version with all conveyors working with functions for finding the position of a distance along a conveyor and another for creating photoeyes. Uses function_s so may need updating if those functions change in the future - but since this is in a usercommand, at least it would only need updating in one place.

5-conveyors2_jl3.fsm

1 Like 1 ·
Haneen A avatar image Haneen A Jason Lightfoot ♦♦ commented ·

Thank you so much for your help, my group members and I were stuck in this problem for many days!

we really appreciate your help Mr.Jason .

Sincerely,

0 Likes 0 ·
Show more comments