MPjobs tool for PSSe runs in Parallel

asked 2020-09-25 13:18:00 -0500

jconto gravatar image

updated 2021-06-29 12:34:42 -0500

I have written a python code, named MPjobs, that allow running as many instances of PSSe as CPU’s in a pc, in other words, runs PSSe in parallel at the process level. It uses pool.apply_async and a dictionary to pass the arguments. This tool is suitable for repetitive studies where the changing variable is known, like during benchmarking models, sensitivity runs or dynamic fault simulations.

[Updated 20210629] You can download the MPjobs tool with a demo set compatible with PSSe v.33, v.34 and v.35 (and python 2.7, v.3.7, v.3.8) from [copy the link into your browser if it does not work by clicking on it]:

At JContogoogledrive, enter the folder "MPjobs PSSe in Parallel" and then select “MPjobsjconto_xxxxx.zip”. An icon on the top-center screen will perform the download.

As it is, MPjobs can be used to parallelize runs from ‘almost’ any application that can run from a DOS window with an input file or line arguments.

Follow the instruction in the read.me file and in the wiki doc to run the demos included.

edit retag flag offensive close merge delete

Comments

Any chance you can give us a live virtual demo of MPjobs and Channels some day?

Type1_bus gravatar imageType1_bus ( 2020-09-26 07:38:12 -0500 )edit

Awesome...

mbong gravatar imagembong ( 2020-11-08 20:33:02 -0500 )edit

Very cool, thanks for sharing. I may borrow some these concepts and incorporate them into my own tools.

likethevegetable gravatar imagelikethevegetable ( 2021-07-15 11:51:05 -0500 )edit

Very nice tool for bulk system simulation

Yunzhi Cheng gravatar imageYunzhi Cheng ( 2021-07-31 11:51:36 -0500 )edit

Hi jconto, I notice that for large batches of contingencies the tool starts skipping contingencies or gets stuck (MPAA mode). Is there a way to avoid this? The runs get processed but don’t get started. I’ve included a delay of 20 seconds.

Type1_bus gravatar imageType1_bus ( 2021-11-03 10:22:51 -0500 )edit