Ask Your Question
0

Sensitivity analysis and Export Result in Excel

asked 2015-11-28 06:54:34 -0500

Jervis gravatar image

Hello,

Can any one tell how to perform sensitivity analysis of PSS/E 33 with Python and if it possible than how to export the results of sensitivity analysis in Excel with python.

Thank you in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-12-01 19:41:04 -0500

Eli Pack gravatar image

Hey Jervis. I've done something similar in the past, but just wrote the results straight to a CSV file. It might require some minor post-processing in Excel. Hopefully this can be of some use.

Python script:

psspy.report_output(2,r"""results.csv""",[0,0])
psspy.dfax([1,0],r"""subsystem.sub""",r"""monitor.mon""",r"""contingency.con""",r"""dfax.dfx""")
psspy.sensitivity_flows([0,0],[1,0,0,0,0,0,0,0,0],[ 0.5, 0.005],[r"""MY_SUBSYSTEM""","",r"""MY_SUBSYSTEM"""],r"""dfax.dfx""")

subsystem.sub

SUBSYSTEM 'MY_SUBSYSTEM'
AREA 3
END
END

monitor.mon

MONITOR LINES IN SUBSYSTEM MY_SUBSYSTEM
END
END

contingency.con:

END
END
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

Stats

Asked: 2015-11-28 06:54:34 -0500

Seen: 8,377 times

Last updated: Dec 01 '15