Ask Your Question
0

which API instruction can set the branch become breaker?

asked 2018-10-04 03:46:22 -0500

Eddiewen gravatar image

Dear All,

I want to use Python to change the branch to breaker or switch Does Anyone know which API instruction can set the branch become breaker?

Thank!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-10-04 10:20:04 -0500

perolofl gravatar image

Change the branch id with API mbidbrn:

 ierr = mbidbrn(frmbus, tobus, id, idnew)

For example:

psspy.mbidbrn(30715,30719,'1','*1')    # switch
psspy.mbidbrn(35441,35597,'1','@1')    # breaker
edit flag offensive delete link more

Comments

I really appreciate your help giving the right answer.

Eddiewen gravatar imageEddiewen ( 2018-10-04 12:20:13 -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

Stats

Asked: 2018-10-04 03:46:22 -0500

Seen: 226 times

Last updated: Oct 04 '18