Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Python Script report_output

Concerning this Python script: psspy.report_output(2,r"""results.csv""",[0,0])

What preparations to the Excel file should I do prior using it? Because when I'm using the script the output file "results.csv" is empty (0 kB). I need that it contains the power flow outputs e.g. voltages on all buses.

Python Script report_output

Concerning this Python script: psspy.report_output(2,r"""results.csv""",[0,0])

What preparations to the Excel file should I do prior using it? Because when I'm using the script the output file "results.csv" is empty (0 kB). I need that it contains the power flow outputs e.g. voltages on all buses.

Here is the complete code I wrote: psspy.case(r"""savnw""") psspy.fnsl([0,0,0,1,1,0,0,0]) psspy.report_output(2,r"""results.csv""",[0,0])