0

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

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?

YI-WEI's avatar
29
YI-WEI
asked 2018-04-09 00:29:51 -0500, updated 2018-04-09 00:31:09 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

perolofl's avatar
3.8k
perolofl
answered 2018-04-09 01:59:38 -0500
edit flag offensive 0 remove flag delete link

Comments

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

YI-WEI's avatar YI-WEI (2018-04-09 02:28:13 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer