First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
1

How to output file into .xls or .txt ?

asked Sep 28 '13

Bob gravatar image

When we do simulation on PSS/E the output file may be writtrn into .out files,but it may difficult to process the datas by matlab,so I want to out put the datas into .xls or .txt files use Python,but I don't know how to do it ? Anyone can help me ?

1 answer

Sort by » oldest newest most voted
1

answered Sep 29 '13

yfwing gravatar image

updated Sep 29 '13

You can use dyntools, which is a python module comes with psse installation. It can read .out file and save to whatever format you like.

Check the function chnf in the dyntools.

You can also try the matlab routine posted on http://www.ece.ualberta.ca/~apic/pmwi..., which can directly import .out to matlab.

link

Comments

Thank you. Dear friend, I am a student in China , I want to communicate with you and learn from you,could you please tell me your email? Mine is bob1026@163.com Best Wishes!

Bob gravatar imageBob (Sep 30 '13)

@yfwing I could not find any illustration about the function CHNFexcept a few statements in dytools. So I don't know how to use the function CHNF, could you please give me some tips? Thanks

Bob gravatar imageBob (Oct 2 '13)

Hi Bob, sorry for the delay. My email is ece.carl@gmail.com

yfwing gravatar imageyfwing (Oct 18 '13)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: Sep 28 '13

Seen: 1,956 times

Last updated: Sep 29 '13