First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
I'd try using the "docu" function. In the following example, I report all models connected to bus 12345. This will generate a report in PSSE, which should list the data used by the model.
psspy.bsys(1,0,[0.0,0.0],0,[],1,[12345],0,[],0,[])
psspy.docu(1,0,[0,3,2])
If you want to use the starting VAR number in the same script, you'll want to redirect the output of PSSE reports and parse the text. Look up the psspy.report_output function.