Ask Your Question
0

Retrieve ASCC result and process it in Python

asked 2017-03-07 04:15:39 -0500

QuangNguyen gravatar image

Hi,

By using ASCC command in PSSE, we can get the Thevenin impedance in the Output bar of PSSE. However, I would like to retrieve this Thevenin impedance value in Python environment in order to conduct further calculation. Can anyone help please!

Best regards,

Quang

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-03-08 06:25:40 -0500

perolofl gravatar image

Use ascc_currents in pssarrays! Example for bus 154:

import pssarrays
psspy.bsys(0,0,[ 1., 500.],0,[],1,154,0,[],0,[])
rlst = pssarrays.ascc_currents(0,0,fltlg=1)
z1 = rlst.thevz[0].z1
z2 = rlst.thevz[0].z2
z0 = rlst.thevz[0].z0

The impedance will in in ohm or pu, depending on your shortcircuitunits setting. Use thevzpu instead to always get in pu.

edit flag offensive delete link more

Comments

Thank you very much!

QuangNguyen gravatar imageQuangNguyen ( 2017-03-09 10:00:55 -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

Stats

Asked: 2017-03-07 04:15:39 -0500

Seen: 560 times

Last updated: Mar 08 '17