question

Roberto avatar image
0 Likes"
Roberto asked Roberto commented

simulate loss of material

Hi guys! I want to create a model to simulate the loss of material. I have a processor connected to a queue. I want the queue keeping only 95% of items, while the 5% goes to a sink. Could you suggest some options to build this type of simulation?

thanks in advance! Roberto


FlexSim 24.2.0
loss of material
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Roberto commented

You can use the Random -> By Percentage option in the queue's Send to Port option to send the item to the sink in 5% of cases.

· 5
5 |100000

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

Roberto avatar image Roberto commented ·

It does not work. I have connected a queue to a sink and I have modified output settings by percentage in this way:1724328401004.png

However al the items go to sink.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Roberto commented ·

Your screenshot didn't upload successfully. Here is an example model that shows the settings.

nok-to-sink.fsm

0 Likes 0 ·
nok-to-sink.fsm (27.3 KiB)
Roberto avatar image Roberto Felix Möhlmann commented ·
I build a similar model but the results are not precise. I have 1188 items and the 5% loss of material becomes 68. It should be around 60. I don't understand why.
0 Likes 0 ·
Show more comments