Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Get solution parameters and solution algorithm

I have a .sav case from another entity and I want to programmatically find what the solution algorithm and the solution parameters are. I can manually open the case and check both, but I would like to be able to automate it. I found the psspy.runlastsolution() function which is helpful, but there are cases where I would like to use a different solution method and then return to the initial algorithm.

Ideally, I would be able to find the solution method (FDNS, FNSL, SOLV, RSOL, etc.) and the solution parameters for the psspy.solution_parameters_5() function to completely replicate the original solution.