Ask Your Question

Does PSS/E provide any functionality to auto-correct device limit violations during dynamic simulation initialization?

asked 2020-09-17 15:25:41 -0500

bikiran1991 gravatar image

I am working with a case (raw + dyr) which, during initialization, shows several warnings that some exciters and governors have limit violations. I recently realized that Power World has an option where it auto-corrects these issues by changing the device limits. Does PSS/E have anything similar?

If not, is there some way to leverage the python API to do something similar? That would involve making a data structure of all the limits which were violated, locating their CON index, and changing them so that they are not violated anymore.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2020-09-18 10:40:40 -0500

perolofl gravatar image

The only auto-correct PSSE can do is to net in-service generators with missing generator model.

There is no problem to write a script for auto-correction. I have done something similar that updates the governor limits based on Pmax in saved case.

However, for exciter limiter violations I prefer to solve it manually, since almost always the problem lies in wrong load flow data, e.g., wrong Q-limits, solved without Q-limits, wrong Mbase, etc. For a correctly initialised exciter model, Emax should be well above the calculated field voltage (Efd).

edit flag offensive delete link more


Is it possible to share the script? Or provide some useful commands to help me write it?

bikiran1991 gravatar imagebikiran1991 ( 2020-09-18 10:55:08 -0500 )edit

Use amachint and amachchar to get lists with all generators. Loop the lists and get governor model name with mdlnam. Get CON starting index with mdlind. Use dsrval to get the CON value for GMAX and GMIN. Update those values, if necessary, with change_con if governor limits are too narrow.

perolofl gravatar imageperolofl ( 2020-09-18 11:48:44 -0500 )edit

The idea is to update governor GMAX and GMIN to the same MW-value as PMAX and PMIN in the saved case.

perolofl gravatar imageperolofl ( 2020-09-18 12:02:30 -0500 )edit

ok thanks!

bikiran1991 gravatar imagebikiran1991 ( 2020-09-18 14:55:41 -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



Asked: 2020-09-17 15:25:41 -0500

Seen: 115 times

Last updated: Sep 18