Ask Your Question

How to use the api to overwrite PSSE existing working case network data

asked 2018-04-09 00:29:51 -0500

YI-WEI gravatar image

updated 2018-04-09 00:31:09 -0500

How to use the api to overwrite psse existing working case network data (load) -Pload & Qload two column, I should see which part of the manual?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2018-04-09 01:59:38 -0500

perolofl gravatar image

The easiest way to learn about API is to record a python script while performing the operation manually in PSSE. For exemple, changing load 2 at bus 154 will generate the following API (rev 33.9):

psspy.load_chng_4(154,r"""2""",[_i,_i,_i,_i,_i,_i],[ 450.0, 375.0,_f,_f,_f,_f])

Read more about the API in Application Program Interface (API) Manual, chapter 2.25.

edit flag offensive delete link more


ok,l learn a class ,thank you very much!

YI-WEI gravatar imageYI-WEI ( 2018-04-09 02:28: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

1 follower


Asked: 2018-04-09 00:29:51 -0500

Seen: 116 times

Last updated: Apr 09 '18