Ask Your Question
3

Automated ACCC Exporting

asked 2012-07-11 11:04:51 -0600

anonymous user

Anonymous

updated 2012-07-12 01:00:10 -0600

JervisW gravatar image

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.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2012-07-12 00:59:36 -0600

JervisW gravatar image

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

edit flag offensive delete link more
0

answered 2013-11-12 12:02:35 -0600

Tabby gravatar image

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.

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

Stats

Asked: 2012-07-11 11:04:51 -0600

Seen: 5,888 times

Last updated: Nov 12 '13