Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Open PSSe on GUI mode, open a case and then activate the recording button. Choose python as the script type. Now proceed to the fixed-shunt tab, locate the item and change its value. stop the recording function. Now you have a python script file set to change a value (MVAR?). Use this process to get scripts that made changes to any type of record. The content of the script will be:

psspy.shunt_chng(203,r"""1""",_i,[_f, 60.0])  # change Qvar to 60

or you can go to Application Program Interface (API) Manual and get familiar with all the functions to change and control PSSe.