First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
I wanted to post this as a comment, but it was too long. I think it should still give you what you're looking for though.
While it may be possible to do what you're saying directly with PSS/E API functions, I believe it would be much easier to do it with Python spreadsheet post-processing. Using a library like openpyxl or xlrd/xlwt you can insert things like case names or combine excel files quite easily.
What will make this a generalized solution (and reduce your workload) is writing the following scripts in a way that lets them automatically find all cases/.accc files. This will find all .sav cases located in the same folder as the script itself:
dirname = os.path.dirname(os.path.realpath(__file__))
for file in os.listdir(dirname):
if file.endswith(".sav"):
Then, you can do the following: