question

Akhil raja rao K avatar image
0 Likes"
Akhil raja rao K asked Akhil raja rao K commented

How to split people from a source & walk to two different sinks in a ratio?

I need to split people from a single source & make them walk to two different sinks in 10:1 ratio i.e.,10 members walks to one sink and 1 member walks to another sink continuously. As I'm doing it in process flow I've used "decide" in process flow and tried all the triggers but I didn't get it, help me out. Please find the model in the attachment @Jörg Vogel

people-ratio.fsm

FlexSim 19.1.0
decidecodingpeople flowsplitscripting
people-ratio.fsm (25.9 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.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Akhil raja rao K commented

If you connect 10 output connectors to one walk activity and 1 connector to the other walk activity, round robin decision works.

The modulus operator still needs an increasing value. Here it is again the input. Unfortunately the activity is declared as a treenode. Statistical values are only availbale for an object. The activity has got statistics, but I must cast it directly into an object to get the data. Then the condition must get a logical result to be true or false.


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

Akhil raja rao K avatar image Akhil raja rao K commented ·
@Jörg Vogel

Thanks for the solution sir, works fine.

0 Likes 0 ·