Preventing duration constraint rounding

Moderator: Moderators

Preventing duration constraint rounding

Postby Stern » Fri Sep 29, 2017 11:23 am

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]
Stern
Forum Newbie
Forum Newbie
 
Posts: 17
Posts Rating:0
Joined: Thu Sep 21, 2017 8:35 am

Re: Preventing duration constraint rounding

Postby arnon_l » Mon Oct 02, 2017 11:33 pm

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,
arnon_l
Customer Support
Customer Support
 
Posts: 79
Posts Rating:9
Joined: Thu Aug 30, 2012 3:39 am

Re: Preventing duration constraint rounding

Postby Stern » Tue Oct 03, 2017 6:48 am

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!
You do not have the required permissions to view the files attached to this post.
Stern
Forum Newbie
Forum Newbie
 
Posts: 17
Posts Rating:0
Joined: Thu Sep 21, 2017 8:35 am


Return to Cameo Simulation Toolkits

Who is online

Users browsing this forum: No registered users and 1 guest