question

Ryosuke S avatar image
1 Like"
Ryosuke S asked Phil BoBo edited

Precision Mode in runspeed()

What is the difference between low and high precision set to runspeed()? I did read the document but couldn't quite understand.

Are there any sample that best describes the difference? I tried with one of my model, but couldn't see the difference.

FlexSim 21.0.6
flexscriptrunspeed
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Ryosuke S, was Phil BoBo's answer helpful? If so, please click the red "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

Phil BoBo avatar image
1 Like"
Phil BoBo answered Phil BoBo edited

You aren't going to notice a difference when running a normal model.

The high precision mode is used for emulation purposes when you are trying to synchronize FlexSim with another process.

If the calculation for the time between executing events (real time, not simulation time) can be accurately stored in a double precision variable, then this setting is irrelevant to your simulation. If the real time between executed events is losing accuracy because of double precision, then you can use this setting to calculate the time between events using 64-bit integer datatypes.

You are unlikely to ever need this setting. If you need it, then you will understand it.

It doesn't affect the simulation results. It only affects the calculation for the runspeed as it is related to real time. In most models, the accuracy of the run speed ratio is irrelevant. Whether you are running at 2.00000000 times real time or 2.00000001 doesn't make a difference.

· 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.

Ryosuke S avatar image Ryosuke S commented ·

@Phil BoBo Thank you! We go it.

0 Likes 0 ·