First time here? Check out the FAQ!
2

No API for pssplt?

I can't find any documentation in the PSSE32 docs about an API for pssplt, so I can only conclude that there isn't one. Does anyone know any differently?

Which means I'll be using subprocess.Popen or similar if I want to run a command like:

pssplt32 -inpdev "some_math.idv"

from a larger python script. Which really isn't that bad, but I'd rather not spawn a subprocess unless I have too.

chip's avatar
459
chip
asked 2012-04-20 12:03:02 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Do you know if there is a way to plot using excel, matlab or matplotlib instead of pssplt?

JervisW's avatar JervisW (2012-04-23 09:02:18 -0500) edit

@JervisW This time I'm getting tabular data. It looks like the PSSE API supports data retirevial (pssarrays) which should give me what I need to send it to matplotlib if that time comes, and there's the pssplot.exportplot which I haven't tried yet.

chip's avatar chip (2012-04-23 09:49:07 -0500) edit
add a comment see more comments

1 Answer

2

PSSE migrates away from PSSPLT

PSS™E will ship with PSSPLT to allow continued use of existing scripts and until the complete feature set has been migrated.

I found this article dated 2008. One of the reasons for no API might be that they planned to migrate away. Back when version 29 was king I used to automate from Python using idev files and subprocess just they way you are doing it with pssplt.

JervisW's avatar
1.3k
JervisW
answered 2012-04-22 18:37:40 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks, I completely missed the pssplot module in the API docs. I thought the pssplt tool looked a bit older than everything else, but I didn't realize it had been deprecated.

chip's avatar chip (2012-04-23 09:51:25 -0500) edit
add a comment see more comments