JuliaDynamics/ConcurrentSim.jl

Parallel calculation using multiple cores

Closed this issue · 1 comments

I have developed a traffic simulation platform using SimJulia. When the network is larger, the simulation is not quick enough. How to run the simulation parallelly?

Running a complex simulation in a parallel way is not possible in SimJulia. All events are executed synchronously. We have simulated fairly complex scenarios without any problems. How many processes are running simultaneously?
I have seen your question in Julia Discourse and the answers. I don't agree but I have not the intention to start a discussion. Resumable functions transforms a process in a state machine and entering a state machine is simply a function call based on a triggered event. Whatever event framework you will be using it will not be faster than SimJulia, ... and you get some nice spaghetti code of interacting events.
Even of you don't intent to continue working with SimJulia, can you keep me informed about your progress.
Kind regards

Ben