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

Ask Your Question
0

Where can I put the Branch ID?

asked Aug 14 '3

Jimmy gravatar image

updated Aug 14 '3

What can I do to Off/On a specific branch " in Service ", If the From Bus Number and To Bus Number are the same?

Where can I put the Branch ID?

There are two buses and two branches, as shown in the picture below.

Branch_1:From 123 To 456 ,Branch ID:A

Branch_2:From 123 to 456,Branch ID:B

https://ibb.co/T8VPZDS

psspy.branch_chng(123,456,r"""1""",[0, _i, _i, _i, _i, _i], [f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f])

psspy.branchchng(123,456,r"""1""",[1, _i, _i, _i, _i, _i], [f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f])

Thank you for reading my question!

1 answer

Sort by » oldest newest most voted
1

answered Aug 14 '3

jconto gravatar image

updated Aug 14 '3

Use:

 psspy.branch_chng(123,456,r"""A""",[0, _i, _i, _i, _i, _i], [f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f])


psspy.branch_chng(123,456,r"""A""",[1, _i, _i, _i, _i, _i], [f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f, _f])

Check the API manual for latest function: branch_chng_3

link

Comments

Thank you so much for answering my question.

Jimmy gravatar imageJimmy (Aug 15 '3)

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: Aug 14 '3

Seen: 168 times

Last updated: Aug 14 '23