Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Close ACCC excel report

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

click to hide/show revision 2
changed psspy.accc to pssexcel.accc

Close ACCC excel report

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