Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Working on the savnw.sav case + *.mon, *.con & *.sub files (available in the examples folder of the psse installation) and load buses 153, 154:

In addition to your correction, "open the case" inside the node loop:

 for node in nodes:
        count+=1
        psspy.case(case)                #fresh copy of base case
        psspy.fnsl([1, 0, 0, 1, 1, 0, 0, 0])

I got a csv file after the run ends but cannot interpret its content. Please add more comments to explain the intended output.