question

Manuel R26 avatar image
0 Likes"
Manuel R26 asked Jacob W2 commented

Distribute labels

Hello,

in my model I am trying to combine 24 x Object A with 1 x Object B.

I would like to set a label on the exit of the combiner that gives the first 10% of Items the value 1,
the second 10% the value 2,
and so on, the 10th 10% the value 10.

Is this possible somehow?

Thanks in advance!

Best regards

Manuel

FlexSim 22.0.1
labels
· 1
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

I don't see the relevance of the 24+1 in your question.

The label value can be

  1. combiner.stats.output.value%10+1;

Update - this may not be correct for this model - FlexSim doesn't use the statistic output to record items that leave the combiner through an output port in pack mode (which the model is using). So for example if you use stopoutput on the combiner the output stats will continue to increase as the items are 'combined'. That's not the case when they are joined.

· 16
5 |100000

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