3

Automated ACCC Exporting

I am trying to automate PSSE using python scripts. Specifically, my goal is to import a *.sav file along with a *.con file, *.mon file, and a *.sub file to create a *.dfx file then to use that to create a *.acc file which should then be exported to excel. Using the python recording feature of PSSE I have code that creates both files but I can't seem to get the code to export the report to excel. Let me know if you have any suggestions.

anonymous user
asked 2012-07-11 11:04:51 -0500
JervisW's avatar
1.3k
JervisW
updated 2012-07-12 01:00:10 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

2

Hi there,

Once you already have a .acc file exporting to Excel is pretty simple.

import pssexcel

pssexcel.accc('secret-accc-study.acc',
              's',                             # export a summary
              xlsfile='secret-accc-study.xls') # export to this file

There are lots of different options to experiment with. There is a full list under accc in Section 9.2.1 of the PSSE API documents.

If you get any errors, you can post them here too

JervisW's avatar
1.3k
JervisW
answered 2012-07-12 00:59:36 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

Hi there can you please share your python scripts for making the subsystem, monitor, contingency and DFAX files? I am new in PSS/E and also in Python.

Tabby's avatar
1
Tabby
answered 2013-11-12 12:02:35 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer