Number of idle (blocked) items on a conveyor

Number of idle (blocked) items on a conveyor

AmeenShabeerJ4UQ4
Contributor Contributor
10 Views
7 Replies
Message 1 of 8

Number of idle (blocked) items on a conveyor

AmeenShabeerJ4UQ4
Contributor
Contributor

[ FlexSim 18.2.2 ]

Hi,

How can I get the number of idle (blocked) items on a conveyor

Accepted solutions (1)
11 Views
7 Replies
Replies (7)
Message 2 of 8

jeff_nordgren
Not applicable
@Ameen MS

Need a little more information about what your model is doing. Are the blocked flowitems in the middle, end or exactly where? Are there flowitems on the conveyor that are not blocked? If you could send in your model or a sample model of the problem, it would be a lot easier to give you a specific answer. And please include more details about what the model is needing to do.

Thanks.

0 Likes
Message 3 of 8

AmeenShabeerJ4UQ4
Contributor
Contributor

Hi Jeff,

I am trying to simulate one traffic signal, the roads are modelled using conveyor, so I want to know the number of vehicles in movement and number of vehicles under idle.

in the attached picture "X" = Idle vehicles & "Y" = vehicles Under Movement.

15828-untitled.png

0 Likes
Message 4 of 8

tanner_p
Not applicable

You could try listening to an "On Item Bump" trigger. This would be set up in something like a Wait for Event activity and would give you the front item as well as the back item. This is what that looks like:

15851-assign-label-slug-items.png

This would give you information on how many items are stopped. Then you could listen to how many total items are on the conveyor (using subnodes length) and calculate the number stopped vs the number moving (or X and Y, respectively, in your example).

Here is an example of what the token's information might look like with the labels.

15852-slug-label-arrays.png

Overall, this might be a difficult statistic to calculate, but I hope there is a method that will work for you.

Message 5 of 8

AmeenShabeerJ4UQ4
Contributor
Contributor

Hi, Thanks for your reply.

But this solution will not work for me,

Because count will not work for the first item until it gets a Bump by the second item.

0 Likes
Message 6 of 8

roi_sn
Not applicable
Accepted solution

Hi @Ameen MS, take a look at the attached model and check if it is what you were looking for. I basically managed to control how many trucks were in movement and stopped by creating a label on each of them when they had to stop or they were bumped.

get-blocked-trucks.fsm
Message 7 of 8

AmeenShabeerJ4UQ4
Contributor
Contributor

is there any simple and better way to get it done ?

0 Likes
Message 8 of 8

tanner_p
Not applicable

This isn't a very common statistic to look for in most FlexSim models, so there's not currently an easier way to collect this data. The model from @Roi Sánchez is probably your best option. If you feel inclined to, you might post an idea that developers could potentially incorporate into the software.

0 Likes