Ask Your Question

Inertia of a Power System

asked 2019-07-24 11:58:23 -0500

jconto gravatar image

I have posted at my Google Drive site a python script to calculate the inertia of a power system. Generator models supported are 'GENDCO', 'GENROE', 'GENROU', 'GENTPJ1','GENSAE', 'GENSAL','GENTRA'. Data input are base case non-converted or converted and the corresponding snp file. It prints out the inertia (in GW-sec) of the system.

edit retag flag offensive close merge delete


awesome! thanks!

bikiran1991 gravatar imagebikiran1991 ( 2019-09-04 21:41:11 -0500 )edit

Hi, I got a problem with *snp file, do you know how to create the *snp file from *dyr file ? I used Save As the *dyr file to *snp file. However, when I run the API, the comment is " No data in memory" do you know why ?

dunguyen9003 gravatar imagedunguyen9003 ( 2020-02-12 06:01:44 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2020-02-12 09:59:31 -0500

jconto gravatar image

* saving a SNP file *

In the PSSe GUI, after reading the case, convert the loads and generators, apply activities ORDR, FACT, TYSL, then save it as a converted case (still with sav extension).
Next read the dyr file (use OPEN file) and enter data as needed (see API manual for "dyre_new"). In code format:

psspy.dyre_new([1,1,1,1],dyrfile)   #as example

After this step, select "SAVE" and enter a name with extension.snp. In code format:

ierr = psspy.snap([-1,-1,-1,-1,-1],'case.snp')   #as example
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


Asked: 2019-07-24 11:58:23 -0500

Seen: 333 times

Last updated: Feb 12