Jump to content
Simio Forum
Sign in to follow this  
hasnan

Modulus

<t></t>  

  1. 1. <t></t>



Recommended Posts

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

×