First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Is there a way, from within python, to access solution results after performing a newton solution? The things I would like for my programs to access are:
I could theoretically get the number of iterations by repeated resolving the case while varying the iteration limit and checking psspy.solved() for non-convergence but this is somewhat ridiculous.
The only way that I can think of to get this information is to direct the progress device to a file and then parse the data from the file. Has anyone written code for doing this? Could you share it?
2 | No.2 Revision |
Is there a way, from within python, to access solution results after performing a newton solution? The things I would like for my programs to access are:
I could theoretically get the number of iterations by repeated resolving repeatedly solving the case while varying the iteration limit and checking psspy.solved() for non-convergence but this is somewhat ridiculous.
The only way that I can think of to get this information is to direct the progress device to a file and then parse the data from the file. Has anyone written code for doing this? Could you share it?