I need to create labels according to the following percentage:
Label AMT_G: 50%
Label AMT_RET: 21%
Label AMT_EXT_ULC: 7%
Label AMT_PIGG: 2%
Label AMT_PS: 2%
Label AMT_HYB: 1%
Label AMT_DUAL: 8%
Label PIE: 2%
Label PIE_RET: 7%
For this I use a trigger "Set Label by Percentage" at the source.
However, certain labels are not allowed to be created one after another. This applies to all labels except AMT_G and AMT_DUAL which are allowed to be created one after another. The creation restriction for the other labels should be as following:
AMT_RET: Max 1/4
AMT_EXT_ULC: Max 1/7
AMT_PIGG: Max 1/18
AMT_PS: Max 1/4
AMT_HYB: Max 1/4
PIE: Max 1/8
PIE_RET: Max 1/8
So for instance 7% of all created labels should be "PIE_RET" but "PIE_RET" is not to be created more often than every eight label. How do I achieve this?
I've uploaded my model ("LabelingWithPercentandFreq") to the flexsim file share site.