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

Ask Your Question
0

How to sum parallel line / transformers power flows using python code?

asked Nov 22 '18

MKarthik gravatar image

Hi,

If I have two or more lines or transformers running parallel between the two nodes, I want to sum their only MW flow together and write it in txt file using python code.

Is that possible? Please give your suggestions.

Thank You.

2 answers

Sort by » oldest newest most voted
0

answered Dec 1 '18

txc gravatar image

If you want to get the MW, MVAr flows, you can write a simple bus other model in Fortran and call the FLOW1 function. You can see the details of the FLOW1 function in the Models documentation. Assign the MW, MVAr flows to VARs and extract them.

link
0

answered Nov 22 '18

perolofl gravatar image

Use API inibrn, nxtbrn and brnflo!

Google on how to write to text files in Python! The solution is there if you just search.

link

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

1 follower

Stats

Asked: Nov 22 '18

Seen: 381 times

Last updated: Nov 30 '18