Ask Your Question
0

How to change the value of reactive power of shunt compensators?

asked Sep 23 '15

christanbull86 gravatar image

Dear friends,

I would like to change the value of reactive power of such compensators as fixed shunts or switch shunts in sav file by python script. Please help me the scripts.

Thank you so much in advance.

1 answer

Sort by » oldest newest most voted
1

answered Sep 24 '15

jconto gravatar image

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.

link

Comments

Thank you so much.

christanbull86 gravatar imagechristanbull86 (Sep 25 '15)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: Sep 23 '15

Seen: 3,097 times

Last updated: Sep 24 '15