question

Maíra A avatar image
0 Likes"
Maíra A asked Maíra A commented

Alternating labels with percentage

How can i set alterning labels using percentage?

example2017.fsm

FlexSim 17.0.13
assign labelssource schedulepercentage
example2017.fsm (19.5 KiB)
5 |100000

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

Regan Blackett avatar image
1 Like"
Regan Blackett answered Maíra A commented

You can do this one of two ways; You can either have a decide activity that send tokens through a ‘round robin’ connector (‘round robin’ means to alternate each connector in a series, so 1, 2, 1, 2, etc.) to an assign labels activity that assigns the value using your two different distribution. Like this:

The second option is to use the output statistic of your source activity as part of a conditional value assignment. Like this:

The condition I used basically says if the output statistic is even numbered, use the first distribution and if it’s odd numbered use the second.


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

Braydn T avatar image
1 Like"
Braydn T answered Matthew Gillespie converted comment to answer

@Maíra A I am not sure what you mean by alterning, but to create labels by percentage you choose to create a label in almost any create labels field (I will use a source in this example) and then choose by percentage for the value.


· 6
5 |100000

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