question

Arath Prieto avatar image
1 Like"
Arath Prieto asked Logan Gold commented

How to connect 2 flexsim models in real time?

Hello everyone!!!

I am trying to connect one model to another in FlexSim separately. I don't know if there is any software, extension, plugin or something to synchronize both models. I would like to know if it is possible to do it in a separate simulation with another one without affecting the runtime and both simulations running at the same time.

Thank you.

FlexSim 23.1.2
connectionsruntimeconnectionsynchronizationseparately
· 4
5 |100000

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

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Logan Gold commented
FlexSim has the communication hooks for you to be able to communicate between the two models and develop something that would attempt to keep them aligned but even if you get that to work, you'll be constraining the fast running model to the speed of the slower one and so wouldn't gain very much performance. If you're doing replications you're better having one model and increasing the number of parallel replications by changing hardware (more memory/more cores).

If you are able to predict key events that cross between the models then you could fast run to those but often times these events emerge in the model and you discover that one has already gone past that event time. This topic has been the subject of many papers over the years about Time Warp Simulation for multicore models, which last I heard involves rolling back to a restored state before continuing - something that FlexSim doesn't currently support.

· 2
5 |100000

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