Ask Your Question
1

Get solution parameters and solution algorithm

asked 2025-04-16 08:01:56 -0500

miltonfrey gravatar image

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2025-04-19 02:42:38 -0500

perolofl gravatar image

The solution method is returned by psspy.prmint('PFCODE').

The solution parameters are returned by psspy.prmdat(string). For example psspy.prmdat('ACCN') returns Newton-Raphson acceleration factor.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2025-04-16 08:01:56 -0500

Seen: 105 times

Last updated: Apr 19