Ask Your Question
2

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

Comments

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

Thanks for this! The result is basically in GW-s, so we need to divide it by the total production if we want to get inertia in seconds. WPP type 4 and PV are fully connected via converter but should we consider the impact of WPP type 3 on system inertia?

pvinkovic gravatar imagepvinkovic ( 2024-07-10 03:25:57 -0500 )edit

2 answers

Sort by » oldest newest most voted
1

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
0

answered 2023-03-07 20:49:49 -0500

powerflow gravatar image

Hi,This python code of yours can be used normally in the savnw .sav that comes with PSSE, but can your python script calculate the inertia of the new energy power system containing wind farms? I still use your New energy power systems with wind farms(ieee39RE.sav and ieee39RE.snp) to calculate the system inertia, but the results are shown as follows after operation:

Inertialess Machine model found:GENTPJU1

Inertialess Machine model found:GENTPJU1

Inertialess Machine model found:GENTPJU1

Inertialess Machine model found:GENTPJU1

Inertialess Machine model found:GENTPJU1

Inertialess Machine model found:GENTPJU1

Inertialess Machine model found:GENTPJU1

Inertialess Machine model found:GENTPJU1

Inertialess Machine model found:GENTPJU1

Inertialess Machine model found:GENTPJU1

 Bus   ID   MacInertia  TotalInertia

System Inertia: 0.00 GW-sec

Please how can I get the correct system inertia,?I would be very grateful if you could reply!

edit flag offensive delete link more

Comments

I have updated the code "inertia.py" to process the generator model "GENTPJU1". Thanks for your feedback and interest. Download the script again.

jconto gravatar imagejconto ( 2023-03-08 13:20:23 -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

3 followers

Stats

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

Seen: 1,665 times

Last updated: Mar 07 '23