GridOPTICS / GridPACK

https://www.gridpack.org/
47 stars 22 forks source link

Export v34 formatted PSS/E files #172

Closed bjpalmer closed 7 months ago

bjpalmer commented 1 year ago

Added an export module that should produce v34 formatted PSS/E files. Tested by running powerflow and exporting a v34 file and then using this as input into a powerflow calculation and checked to see if answers are the same.

abhyshr commented 1 year ago

This looks good to me, but can you try a few more input files to see if the exporter is working correctly. Also, what is the command one needs to use for this feature?

bjpalmer commented 1 year ago

If you are using the powerflow application, just add

<exportPSSE_v34> Filename.raw </exportPSSE_v34>

to the input deck (in the feature/export34 branch). Versions 23 and 33 also work.

bjpalmer commented 1 year ago

I tried the EuropeanOpenModel_v23.raw and TAMU_500_rmsmallgen_v23.raw file in applications/datasets/raw and the voltage and phase angles are the same. The branch values also seem to be good, although it is a bit harder to tell since the export module has a tendency to reorder some of the branches relative to the original input file.

For the European Open Model there are some generators that report a value of Qgen for the v23 run but report zero for the input file created by the PSSE34Export module. This include generators on Buses 836, 956, 2180, 3082, 4572, 6213 and 11312. I don't know if this is anything to be concerned about. Everything else on the generators matches.

abhyshr commented 1 year ago

Good to merge.

abhyshr commented 1 year ago

@yliu250 : Can you test whether this branch has all that you need? If this works fine with you then I will merge.

yliu250 commented 1 year ago

@abhyshr, there were some issues when I tested it with Python wrapper last week. I will further test it next week.

wperkins commented 11 months ago

This is currently held up by #189.

abhyshr commented 10 months ago

Is this ready to merge?

yliu250 commented 10 months ago

Is this ready to merge?

Not yet Shri, let me test it this week and let you know if it is ready.

bjpalmer commented 10 months ago

I think we are waiting on Yuan to confirm that his problems have been fixed.

bjpalmer commented 7 months ago

Rebased and did one final check to make on 118 bus power flow case to see if file generated from export34 gives same result as original raw file before merging.