First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
I'm documenting @cajief's comment here for anyone else coming along.
1.) Number of iterations to solve
psspy.iterat
- The number of iterations used in the last solution attempt
num_iterations = psspy.iterat()
2.) Largest MVAR/MW mismatch
psspy.maxmsm
- Complex bus mismatch at the bus with largets MVA mismatch
psspy.sysmsm
- Return the total system MVA mismatch
ierr, bus, mismatch = psspy.maxmsm()
print mismatch.real, mismatch.imag # MW, MVAR
mva = psspy.sysmsm()
3.) Individual iteration largest change - P,Q,V,A as reported in progress window
No known API
@AdamF you have the right approach here. Redirect and parse the output if you need that information. I haven't seen an API to do this. If you write some code that does it, I'd love to see it in action!
I'm documenting @cajief's comment here for anyone else coming along.
1.) Number of iterations to solve
psspy.iterat
- The number of iterations used in the last solution attempt
num_iterations = psspy.iterat()
2.) Largest MVAR/MW mismatch
psspy.maxmsm
- Complex bus mismatch at the bus with largets largest MVA mismatch
psspy.sysmsm
- Return the total system MVA mismatch
ierr, bus, mismatch = psspy.maxmsm()
print mismatch.real, mismatch.imag # MW, MVAR
mva = psspy.sysmsm()
3.) Individual iteration largest change - P,Q,V,A as reported in progress window
No known API
@AdamF you have the right approach here. Redirect and parse the output if you need that information. I haven't seen an API to do this. If you write some code that does it, I'd love to see it in action!