Ask Your Question
0

Automated Simulations in PSSE

asked 2015-10-05 02:35:17 -0500

FFL gravatar image

Hi everyone,

I would like to ask on how to automate simulations in PSS/E using python scripting or through PSEB/PSAS. Would be glad if you can provide a concise tutorial about this matter. Thanks.

Regards,

Francis

edit retag flag offensive close merge delete

Comments

What type of simulations?

Transmission Impossible gravatar imageTransmission Impossible ( 2015-10-07 05:32:47 -0500 )edit

The simulations are contingency analysis (outage of equipment) and transient stability simulations (testing of fault clearing at different fault clearing times, etc.). Would be glad if you can provide even a helpful insights. Thanks

FFL gravatar imageFFL ( 2015-10-07 05:38:03 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-10-12 01:20:03 -0500

SqFKYo gravatar image

For dynamics simulation in Python my basic workflow is something like this:

Initializing

psspy.case(case file converted.cnv)
psspy.rstr(dynamics file.snp)
psspy.strt(outfile=file to save.out)
psspy.run(tpause=time_before fault)

Applying fault

psspy.dist_bus_fault(faulted bus number)
psspy.run(tpause=time when the fault ends)

Clearing fault, tripping equipment and finishing simulation

psspy.dist_branch_trip(ibus=frombus, jbus=tobus, id=busid)
psspy.dist_machine_trip(ibus=<machine bus, id=machine id)
psspy.dist_clear_fault(1)
psspy.run(tpause=end time)

Extra: If you're using custom models, you'll also need to load the custom models:

psspy.dropmodellibrary(user_model.dll)
psspy.addmodellibrary(user_model.dll)

Chapter 4 in the API manual has tons of commands if you need something more specific.

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

Stats

Asked: 2015-10-05 02:35:17 -0500

Seen: 2,314 times

Last updated: Oct 12 '15