Ask Your Question
0

Where can I put the Branch ID?

asked 2023-08-14 08:02:25 -0600

Jimmy gravatar image

updated 2023-08-14 08:37:46 -0600

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!

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2023-08-14 09:25:32 -0600

jconto gravatar image

updated 2023-08-14 09:25:52 -0600

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

edit flag offensive delete link more

Comments

Thank you so much for answering my question.

Jimmy gravatar imageJimmy ( 2023-08-15 00:24:01 -0600 )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: 2023-08-14 08:02:25 -0600

Seen: 158 times

Last updated: Aug 14 '23