Open floriangc opened 3 years ago
SymuFlow
how are increments of NetworkID
managed.Use case:
x = cdll.LoadLibrary('libSymuFlow.dylib')
id_sim1 = x.LoadNetwork('my_file.xml')
id_sim2 = x.LoadNetwork('my_file.xml')
x.SymurunNextStepEx(id_sim1)
simulator = Simulator() #id1
simulator2 = Simulator() #id2
with simulator1, simulator2:
simulator1.run_step()
simulator2.run_step()
LoadNetworkEx
Simulator
instances for matching the corresponding runtime
action. run_step(simulation_id)
No updates
Problem
I want to run at least 2 simulation at the same time, so to register for on
SymuFlow
dll multiple simulation. CurrentlySymuPy
only use the defualt network id when calling the C interface.