Ask Your Question

saving power flow results to file and creating excel tables

asked 2018-04-25 16:58:34 -0500

Karma1 gravatar image

I would like to to run psspy.rate_2() function to get an indication of lines and transformers that are overloaded. Thereafter, I would like to export the results of this function to an excel worksheet. Can anyone provide a complete python script to do this?

edit retag flag offensive close merge delete


Excelpy runs fine. Thanks

Karma1 gravatar imageKarma1 ( 2018-04-27 13:33:40 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-04-27 01:55:52 -0500

jfconroy gravatar image

It sounds like you are asking someone to do your homework for you, which is not really the purpose of this forum.

You need to write a Python script yourself, at least showing that you made some effort, then people can advise you where you are going wrong.

Have a look at the functions aflowreal and atrnreal. You can use them to get arrays of loading data. Then you can export using excelpy functions. Happy coding!

edit flag offensive delete link more



I agree with 100%!

perolofl gravatar imageperolofl ( 2018-04-27 09:30:12 -0500 )edit


wassup_doc gravatar imagewassup_doc ( 2018-04-27 12:02:18 -0500 )edit

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


Asked: 2018-04-25 16:58:34 -0500

Seen: 158 times

Last updated: Apr 27 '18