0

Where can I put the Branch ID?

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!

Jimmy's avatar
13
Jimmy
asked 2023-08-14 08:02:25 -0500, updated 2023-08-14 08:37:46 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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

jconto's avatar
2.9k
jconto
answered 2023-08-14 09:25:32 -0500, updated 2023-08-14 09:25:52 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you so much for answering my question.

Jimmy's avatar Jimmy (2023-08-15 00:24:01 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer