First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
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.