question

Devdatta D avatar image
0 Likes"
Devdatta D asked Jason Lightfoot commented

Decimal rounding in gap optimizing merge controller

Token release time is 85.05 secs but actual release happens at 85.06. Is this just rounding issue?

1657839433310.png


If not, based on conveyor speed this might cause an issue.

FlexSim 22.1.1
conveyorsgap optimizing merge controller
1657839433310.png (288.0 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Devdatta D, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Jason Lightfoot commented

Yes and no to it being a rounding issue. The 'Wait Until the Release Time' delay activity waits for an extra 1/1000s to make sure the release time is definitely reached. This is, I believe, to prevent floating point errors which could otherwise cause an infinite loop. That you see the difference as 1/100s is indeed just rounding.

What issue do you foresee due to this? A thousandth of a second is unlikely to matter, as the gap-opimizing isn't always 100% accurate (and neither would be a real system).

You can of course reduce that extra wait time further, as long as it stays > 0.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

And the rounding is just for display purposes - so remember you can change the displayed number of decimals in the Model Settings:

1657889641193.png

0 Likes 0 ·
1657889641193.png (6.9 KiB)