Page 1 of 1

Preventing duration constraint rounding

PostPosted: Fri Sep 29, 2017 11:23 am
by Stern
Hello,

When I set duration constraints which are less than 0.5, they are automatically rounded down to 0 while simulating. For example, a duration constraint of {0..0.499} is simulated as 0 seconds, even when durationSimulationMode=max.

How can I turn off this rounding of values?

Thanks

[using SimToolkit 18.5 SP1]

Re: Preventing duration constraint rounding

PostPosted: Mon Oct 02, 2017 11:33 pm
by arnon_l
Hello,

We didn't support duration constraint less than 1 when time unit is millisecond (default unit) in CST 18.5 sp1, it will automatically round to 0 or 1, and could not turn it off.
However, we did the support of that in 18.5 sp2 to allow duration constraint less than 1 when time unit is millisecond.

Kind regards,

Re: Preventing duration constraint rounding

PostPosted: Tue Oct 03, 2017 6:48 am
by Stern
Thank you for the response!

I updated to 18.5 SP2 and unfortunately am running into the same issue. I have attached a small example activity to illustrate. I have defined the constraints in a variety of manners to see if that makes a difference and it does not, the total simulation time always results in '0'. Any solution to this?

Thanks!