question

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

How to split items on two conveyors in ratio 10:1 using decision points?

I've tried using bernoulli distribution (30,1,0) & (10,1,0) but the objects are being distributed in percentage fashion i.e 30% objects to one conveyor another 70% objects to another conveyor. Is there any solution to split exactly 10 objects to one conveyor and 1 object to another conveyor continuously, i've attached the model, please find the attachment bernoulli-decision-point.fsm

FlexSim 19.1.0
decision pointsdecision pointconveyor systemconveyor decision point
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
2 Likes"
Joerg Vogel answered Akhil raja rao K commented

Try a condition on modulus operator

current.stats.input.value%11==0
· 3
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 condition works perfect, thanks a lot for sharing the knowledge sir. I'd like to learn coding in flexsim, I've tried reading flexsim manual its not helping me much, can u suggest any other domain to learn coding in flexsim sir?

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Akhil raja rao K commented ·

I learned a lot from the source code nodes in the library.

1 Like 1 ·
Akhil raja rao K avatar image Akhil raja rao K Joerg Vogel commented ·

thank you sir

0 Likes 0 ·