Ask Your Question
0

Changing the parameter of generators during dynamic simulation

asked 2019-04-01 19:32:29 -0500

Rashid gravatar image

updated 2019-04-01 20:42:54 -0500

jconto gravatar image

Hi everyone. I have a question about changing the parameter during the dynamic simulation, I run this code:

psspy.bsys(sid=2, numbus=1, buses=1)                     
psspy.addmodellibrary('C:\Program Files (x86)\PTI\PSSEXplore34')
psspy.change_plmod_con(5,r"""03""",r"""GENTPJ1""",5, 8)
psspy.change_plmod_con(6,r"""04""",r"""GENTPJ1""",5, 10)
psspy.dyre_new([1,1,1,1],dyrfile)

I try to change the parameter H for gentpj at bus 5 and 6. but the results are not different from the before. Can anyone help me with that?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-04-01 20:56:01 -0500

jconto gravatar image

Read the dyre file first and then make the change to H

psspy.dyre_new([1,1,1,1],dyrfile)
psspy.change_plmod_con(5,r"""03""",r"""GENTPJ1""",5, 8)
...

What test was applied?

Also, line 2 may not be needed.

edit flag offensive delete link more

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

1 follower

Stats

Asked: 2019-04-01 19:32:29 -0500

Seen: 398 times

Last updated: Apr 01 '19