question

Ameen M Shabeer avatar image
1 Like"
Ameen M Shabeer asked tannerp commented

Number of idle (blocked) items on a conveyor

Hi,

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

FlexSim 18.2.2
conveyor
· 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.

tannerp avatar image tannerp commented ·

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:

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.

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

2 Likes 2 ·
Ameen M Shabeer avatar image Ameen M Shabeer tannerp commented ·

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 0 ·
Jeff Nordgren avatar image Jeff Nordgren commented ·
@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 0 ·
Ameen M Shabeer avatar image Ameen M Shabeer Jeff Nordgren commented ·

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.

0 Likes 0 ·
untitled.png (91.2 KiB)

1 Answer

Roi Sánchez avatar image
2 Likes"
Roi Sánchez answered tannerp commented

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

· 2
5 |100000

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

Ameen M Shabeer avatar image Ameen M Shabeer commented ·

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

0 Likes 0 ·
tannerp avatar image tannerp Ameen M Shabeer commented ·

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