![]() | 1 | initial version |
Record a python script while doing the data change and solving manually in PSS/E.
Enter a for loop with numpy.arange to vary pgen.
Look for a suitable API in the manual to return the wanted losses.
Print pgen and losses in report window with psspy.report() or store the results in lists for plotting with matplotlib.