Ask Your Question
0

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

asked 2015-09-23 04:19:43 -0500

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-09-24 15:52:07 -0500

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.

edit flag offensive delete link more

Comments

Thank you so much.

christanbull86 gravatar imagechristanbull86 ( 2015-09-25 02:26:10 -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

Stats

Asked: 2015-09-23 04:19:43 -0500

Seen: 3,073 times

Last updated: Sep 24 '15