Simio
  • Modulus

  • General Simio discussions. THIS IS *NOT* A GOOD PLACE FOR SUPPORT QUESTIONS.
    To limit spam this and all Public Forums have very limited ability to attach files. We recommend that support issues and more technical topics be initiated inside one of the Simio Insider (SI) forums below where you can attach your model and see example solutions. See above Welcome forum to join Simio Insiders.
General Simio discussions. THIS IS *NOT* A GOOD PLACE FOR SUPPORT QUESTIONS.
To limit spam this and all Public Forums have very limited ability to attach files. We recommend that support issues and more technical topics be initiated inside one of the Simio Insider (SI) forums below where you can attach your model and see example solutions. See above Welcome forum to join Simio Insiders.
 #7038  by hasnan
 Tue Nov 17, 2015 11:28 pm
Hi
Anybody know how to write math expression modulus in Simio. For example I want to write ' modelentity.processingtime is divisible by 3'. I tried (modelentity.processingtime/3==0) it doesn't work. Thanks in advance.
 #7039  by willem
 Wed Nov 18, 2015 12:34 am
Hi,

Math.Remainder(ModelEntity.ProcessingTime, 3) = 0
Additionally you should just check if it is larger than 0.

Unless you assigned a ProcessingTime variable or property to your ModelEntity it will not work. Usually the processing time is linked to a Server.

Regards,
Willem
 #7040  by hasnan
 Wed Nov 18, 2015 1:12 pm
Thanks Willem. Appreciate it.