Running multiple simulations simultaneously

Running multiple simulations simultaneously

lance.xi
Enthusiast Enthusiast
641 Views
2 Replies
Message 1 of 3

Running multiple simulations simultaneously

lance.xi
Enthusiast
Enthusiast

Dear Community,

 

I want run two simulations by VBA simultaneously by a same synergy.  How can I achieve that?

 

 

Any Help?

 

Thanks!

 

 

 

0 Likes
642 Views
2 Replies
Replies (2)
Message 2 of 3

Javier.Jubierre
Alumni
Alumni

Hi @lance.xi,

 

Thanks for posting!

 

May I ask you what do you exactly mean when you said that you want to run two simulations on a VBA script? As you might know, Synergy is not running simulations by itself, but the Insight through the SJM. If you really want to launch simulations, why you do not use the runstudy command? You can open so many instances of the command window and run them in parallel as you wish.

 

On the other side, might I ask you, why you want to use a script to launch simulations? What kind of benefits do you expect by doing it so?

 

Cheers,

Javier

______________________________________________________________
If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!


Javier Jubierre
0 Likes
Message 3 of 3

lance.xi
Enthusiast
Enthusiast

Dear Javier,

 

The current status is that: for one simulation, the whole process can be automated through API.

However, there is one special step to check the mesh status and wait until the mesh completed then run the analysis.

 

As our license allows us to run three simulations at the same time.

 

Therefore, I want the API can run three simulations at the same time.

That is: Case A Mesh -> Mesh completed -> Case A Analysis;  Case B Mesh -> Mesh completed -> Case B Analysis; Case C Mesh -> Mesh Completed -> Case C analysis.

 

However, as there is a step for waiting the mesh completed, then the simulation will be run one by one, not at the same time.

 

Is there any solution?

 

Thanks!

 

0 Likes