Ask Your Question
0

Are there any methods to improve the speed of batch dynamic simulations?

asked 2021-06-17 20:43:17 -0500

breeze2021 gravatar image

Hi, everyone!

I wrote codes in python to looply call PSS/E dynamic simulations. But the speed is not very fast. It took me about 9 hours to obtain 100 samples. When I tried to increase the simulation step, it can not obtain correct results. So the maximum of simulation step can only be 0.01s. Therefore, i want to ask if there are any methods to speed it up.

Thank you for your help! I would appreciate it very much!

edit retag flag offensive close merge delete

Comments

Search for "parallel" in this forum.

perolofl gravatar imageperolofl ( 2021-06-18 02:02:06 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2021-06-23 20:01:06 -0500

GaryB gravatar image

0.01s seems long. We run 1/4 cycle time steps.

edit flag offensive delete link more
0

answered 2021-06-21 08:55:37 -0500

ddhungana gravatar image

updated 2021-06-21 08:56:18 -0500

You can improve speed by utilizing parallel processing which will use multiple cores of your machine. Just to get a sense of speed improvement, you can initially split your job into multiple small batches(e.g. 4 batches of 25 simulations each) and trigger all of them at once. If this helps, you can then create python scripts to automatically do this for you.

edit flag offensive delete link more
0

answered 2021-06-21 08:55:38 -0500

jconto gravatar image

Search this forum for "MPjobs tool for PSSe runs in Parallel" for a tool to execute multiple PSSe runs in poarallel.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2021-06-17 20:43:17 -0500

Seen: 610 times

Last updated: Jun 23 '21