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

Ask Your Question
0

which API instruction can set the branch become breaker?

asked Oct 4 '18

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!

1 answer

Sort by » oldest newest most voted
0

answered Oct 4 '18

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
link

Comments

I really appreciate your help giving the right answer.

Eddiewen gravatar imageEddiewen (Oct 4 '18)

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: Oct 4 '18

Seen: 238 times

Last updated: Oct 04 '18