First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
3

Automated ACCC Exporting

asked Jul 11 '12

anonymous user

Anonymous

updated Jul 12 '12

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.

2 answers

Sort by » oldest newest most voted
2

answered Jul 12 '12

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

link
0

answered Nov 12 '13

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.

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

Stats

Asked: Jul 11 '12

Seen: 6,268 times

Last updated: Nov 12 '13