Ask Your Question
0

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

asked Jun 18 '1

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!

Comments

Search for "parallel" in this forum.

perolofl gravatar imageperolofl (Jun 18 '1)

3 answers

Sort by » oldest newest most voted
0

answered Jun 24 '1

GaryB gravatar image

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

link
0

answered Jun 21 '1

ddhungana gravatar image

updated Jun 21 '1

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.

link
0

answered Jun 21 '1

jconto gravatar image

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

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Jun 18 '1

Seen: 640 times

Last updated: Jun 23 '21