First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Hi,
I have a script I use to run ACCC studies that uses the psspy.accc command. At the moment it's very basic and just runs a study for whatever case is loaded into PSS/E.
I'm trying to update the script so that it runs on multiple cases recorded in a .dat file.
My issue is that it seems to only give me an ACCC excel report for the last case listed in the .dat file. So what I think I'm missing is some code to save and close each excel report as the code loops through.
How do I save and close an excel workbook created by psspy.accc?
Thanks,
Peter
2 | changed psspy.accc to pssexcel.accc |
Hi,
I have a script I use to run ACCC studies that uses the psspy.accc pssexcel.accc command. At the moment it's very basic and just runs a study for whatever case is loaded into PSS/E.
I'm trying to update the script so that it runs on multiple cases recorded in a .dat file.
My issue is that it seems to only give me an ACCC excel report for the last case listed in the .dat file. So what I think I'm missing is some code to save and close each excel report as the code loops through.
How do I save and close an excel workbook created by psspy.accc?pssexcel.accc?
Thanks,
Peter