Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
4281861
Initial extraction of WECC240 PSSE data
dchassin Nov 13, 2025
2571272
Update README.md
dchassin Nov 13, 2025
685219f
Update README.md
dchassin Nov 14, 2025
f42cb16
Add PSSE segment reader
dchassin Nov 14, 2025
3e610eb
WIP
dchassin Nov 14, 2025
4aaa2d0
bus data loading ok
dchassin Nov 14, 2025
cb7f68f
Add gen/gencost converters
dchassin Nov 14, 2025
e63094f
Update defaults.py
dchassin Nov 14, 2025
b4ca1ff
Add transformer conversion
dchassin Nov 14, 2025
4a5fce5
Fix load units issue
dchassin Nov 14, 2025
532ed26
Fix gencost converter
dchassin Nov 14, 2025
b8c7eb9
Add support for dclines
dchassin Nov 15, 2025
9579fdd
Update README.md
dchassin Nov 15, 2025
ae58291
Create Celilo Pacific DC Intertie Upgrade.pdf
dchassin Nov 15, 2025
8e13041
Create The_Intermountain_Power_Project_1600_MW_HVDC_transmission_syst…
dchassin Nov 15, 2025
52b6216
Update README.md
dchassin Nov 15, 2025
4570364
Clarify PSSE data segment mappings in README
dchassin Nov 15, 2025
21aee8c
Update README to reflect PSSE to PyPower mappings
dchassin Nov 15, 2025
14e708e
Merge branch 'pypower-model' of https://github.com/slacgismo/regrow i…
dchassin Nov 15, 2025
e212449
Added DC lines and DC line costs
dchassin Nov 15, 2025
9a65112
Update wecc240.py
dchassin Nov 15, 2025
2a750c9
Update README.md
dchassin Nov 15, 2025
cf71374
Add references
dchassin Nov 15, 2025
b716699
Update README with DC lines information
dchassin Nov 15, 2025
d620728
Rename references
dchassin Nov 15, 2025
eb48ea7
Remove copies of references (in favor of links in README because of c…
dchassin Nov 15, 2025
30202ee
Correct DC line data
dchassin Nov 15, 2025
8a26391
Remove DC line pseudo loads
dchassin Nov 15, 2025
1d482cf
Enhance DC line table and update descriptions in README
dchassin Nov 15, 2025
6d99e4f
Update wecc240_dcline.csv
dchassin Nov 15, 2025
20e6994
Merge branch 'pypower-model' of https://github.com/slacgismo/regrow i…
dchassin Nov 15, 2025
d181b83
Update README.md
dchassin Nov 15, 2025
bf55b64
Add test.py and voltage check
dchassin Nov 15, 2025
662e176
Add sorted voltage errors
dchassin Nov 15, 2025
414a674
Enhance README with result check information
dchassin Nov 15, 2025
5881905
Add mermaid diagram for results visualization
dchassin Nov 15, 2025
5d1bdce
Fix formatting in README.md for flowchart
dchassin Nov 15, 2025
8a57f2a
Update README.md
dchassin Nov 15, 2025
b5ab967
Update README.md
dchassin Nov 15, 2025
ae4c36e
Update psse2pp.py
dchassin Nov 16, 2025
927c285
Merge branch 'pypower-model' of https://github.com/slacgismo/regrow i…
dchassin Nov 16, 2025
67b8cea
Add DCOPF tests
dchassin Nov 16, 2025
a1eadca
Add scheduling data
dchassin Nov 16, 2025
2bec6ce
Update README.md
dchassin Nov 16, 2025
6cff936
Add pylint check and fix warnings
dchassin Nov 16, 2025
73f68d1
Merge branch 'pypower-model' of https://github.com/slacgismo/regrow i…
dchassin Nov 16, 2025
387ae19
Update README.md
dchassin Nov 16, 2025
086f354
Update README.md
dchassin Nov 16, 2025
0b3c884
Update README.md
dchassin Nov 16, 2025
f6a5fe0
Fix gencost/dclinecost array handling
dchassin Nov 16, 2025
36dc751
Update main.yml
dchassin Nov 16, 2025
eafb70c
Update github actions
dchassin Nov 16, 2025
32da228
Update pypower.yaml
dchassin Nov 16, 2025
fd4e67f
Update pypower.yaml
dchassin Nov 16, 2025
d8ee9cf
Update README.md
dchassin Nov 16, 2025
fc036c5
Update pypower.yaml
dchassin Nov 16, 2025
e468498
Merge branch 'pypower-model' of https://github.com/slacgismo/regrow i…
dchassin Nov 16, 2025
bfc4262
Update pypower.yaml
dchassin Nov 16, 2025
77562d1
Update requirements.txt
dchassin Nov 16, 2025
5fb3775
Update pypower.yaml
dchassin Nov 16, 2025
d359cd5
Update tests.py
dchassin Nov 16, 2025
d2a0ed3
Update pypower.yaml
dchassin Nov 16, 2025
85c9fef
Update tests.py
dchassin Nov 17, 2025
a1a3988
Update pypower.yaml
dchassin Nov 17, 2025
ce743f4
Update pypower.yaml
dchassin Nov 17, 2025
d78eeff
Update pypower.yaml
dchassin Nov 17, 2025
124439d
Update tests.py
dchassin Nov 17, 2025
b734114
Update pypower.yaml
dchassin Nov 17, 2025
af28a9c
Update pypower.yaml
dchassin Nov 17, 2025
25ac34c
Update pypower.yaml
dchassin Nov 17, 2025
ad0009b
Update pypower.yaml
dchassin Nov 17, 2025
5b8a199
Update pypower.yaml
dchassin Nov 17, 2025
6d3e455
Update pypower.yaml
dchassin Nov 17, 2025
74029fd
Fixed shunt calcs (test results improved)
dchassin Nov 17, 2025
6f7bfbc
Update psse2pp.py
dchassin Nov 17, 2025
09b522a
Update README.md
dchassin Nov 17, 2025
0f14acc
Create kml.py
dchassin Nov 17, 2025
d476aff
Merge branch 'pypower-model' of https://github.com/slacgismo/regrow i…
dchassin Nov 17, 2025
90a19ab
Work on scheduling imports
dchassin Nov 17, 2025
b2c81a2
Update README.md
dchassin Nov 17, 2025
36c056b
Add hifld data loader
dchassin Nov 17, 2025
de0c4cb
Merge branch 'pypower-model' of https://github.com/slacgismo/regrow i…
dchassin Nov 17, 2025
482d5ff
Scheduling OPF fixed
dchassin Nov 17, 2025
1295fe2
Update tests.py
dchassin Nov 17, 2025
ae2926e
Update requirements.txt
dchassin Nov 17, 2025
3812cd9
Move wecc240 CSV files to folder
dchassin Nov 17, 2025
84cf7c3
Move scheduling data to folder
dchassin Nov 17, 2025
6f4262f
Update README.md
dchassin Nov 17, 2025
f339017
Add minimal KML support
dchassin Nov 18, 2025
315eb32
Update tests.py
dchassin Nov 18, 2025
abbecee
Add line status and dclines to kml output
dchassin Nov 18, 2025
df36fde
Update tests.py
dchassin Nov 18, 2025
254c4ae
Update README.md
dchassin Nov 18, 2025
1778535
Update README.md
dchassin Nov 18, 2025
6fbe454
Update README.md
dchassin Nov 18, 2025
c1dc926
Update README.md
dchassin Nov 18, 2025
d691a64
Update README.md
dchassin Nov 18, 2025
8eb31e1
Add HIFLD testing
dchassin Nov 18, 2025
c7437de
Code cleanup
dchassin Nov 18, 2025
6470982
Update tests.py
dchassin Nov 18, 2025
c56f105
Update hifld.py
dchassin Nov 19, 2025
45a1a17
Update tests.py
dchassin Nov 19, 2025
cd94a2c
Add model review notebook
dchassin Nov 19, 2025
9270429
Add GEN and LOAD to gis data
dchassin Nov 20, 2025
e2dd4f6
Update ppmodel.py
dchassin Nov 20, 2025
340de75
Add bus name to gis data
dchassin Nov 20, 2025
008d23c
Update Makefile
dchassin Nov 20, 2025
a42afbb
Add summaries script
dchassin Nov 20, 2025
86b7925
Update Makefile
dchassin Nov 20, 2025
625bb53
Add summaries.py to makefile
dchassin Nov 20, 2025
3f1f380
Update pypower.yaml
dchassin Nov 20, 2025
6530d5e
Add bus graph summary
dchassin Nov 20, 2025
d3d33b3
Add model fixes and model README file
dchassin Nov 20, 2025
4a8c969
Add bus_voltage_class summary
dchassin Nov 20, 2025
94dbffb
Fix generator histogram data summary
dchassin Nov 20, 2025
b1f0bbb
Update pypower.yaml
dchassin Nov 20, 2025
7897792
pylint cleanup
dchassin Nov 20, 2025
a06fcd5
Update makefile to add tests
dchassin Nov 21, 2025
4f641e4
Update pypower.yaml
dchassin Nov 21, 2025
d58bbd0
Delete gridlabd.yml
dchassin Nov 21, 2025
20f220c
Update tests.py
dchassin Nov 21, 2025
59e9b2b
Fix AC OPF call (but it still fails to converge)
dchassin Nov 21, 2025
3475606
Fix scheduling AC OPF
dchassin Nov 21, 2025
102094a
Add DC OPF and AC OPF scheduling plots
dchassin Nov 21, 2025
09cf526
Remove original model AC OPF test (it's infeasible)
dchassin Nov 21, 2025
e126d29
Separate post opf solution tests
dchassin Nov 21, 2025
71d43a5
Add simulation run
dchassin Nov 22, 2025
fa6df66
Update review.py
dchassin Nov 22, 2025
1934218
Add run profiler
dchassin Nov 22, 2025
6955cb5
Update ppmodel.py
dchassin Nov 22, 2025
f9b7dca
Add support for input and output streams
dchassin Nov 23, 2025
004da0d
Update README.md
dchassin Nov 23, 2025
dbd8115
Update ppmodel.py
dchassin Nov 23, 2025
7cfbe05
Add TODO items
dchassin Nov 23, 2025
0008770
Add recorder
dchassin Nov 24, 2025
2d264cc
Refactor solvers and data manager
dchassin Nov 24, 2025
b989e66
Update review.py
dchassin Nov 25, 2025
1d9f577
Add I/O data tables
dchassin Nov 25, 2025
1f83ab9
Add lazy option to all tabs with large tables
dchassin Nov 25, 2025
4ad09df
Update review.py
dchassin Nov 25, 2025
49dea05
Update ppsolver.py
dchassin Nov 26, 2025
5feb245
Update ppmodel.py
dchassin Nov 26, 2025
97fe24f
Fix recorder output glitch
dchassin Nov 26, 2025
162e8ee
Update load.csv
dchassin Nov 26, 2025
f4919cb
Update ppmodel.py
dchassin Nov 26, 2025
9882c3d
Update review.py
dchassin Nov 26, 2025
53cfec0
Update review.py
dchassin Nov 26, 2025
f979b87
Add EIA830m import
dchassin Nov 27, 2025
5b30b20
Add EIA860m grouping by fuel and gen type
dchassin Nov 28, 2025
c4966ff
Add import and test of EIA860m fleet data
dchassin Nov 30, 2025
407e79e
Update eia860m.py
dchassin Nov 30, 2025
dadb49b
Add fuel/gen checks
dchassin Nov 30, 2025
5d8783c
Add fuel/gen cost combination check
dchassin Nov 30, 2025
cbd7b9e
Finalize KML output and summary reports for EIA 860 generation fleet …
dchassin Dec 1, 2025
de5fd72
Update summary
dchassin Dec 1, 2025
2d5b5ab
Update summaries
dchassin Dec 1, 2025
33bc7b5
Update eia860m_node_assignment.csv
dchassin Dec 1, 2025
e95a0ad
Add OPF code result
dchassin Dec 1, 2025
983b71b
Merge branch 'pypower-model' of https://github.com/slacgismo/regrow i…
dchassin Dec 1, 2025
3141ee1
Update summaries
dchassin Dec 1, 2025
7020710
Add gen/fuel exclude for generation import
dchassin Dec 2, 2025
96519a9
Update README with EIA Form 860 details
dchassin Dec 2, 2025
81b8e90
Update README.md
dchassin Dec 2, 2025
c85ceeb
Update README with new subgraph definitions
dchassin Dec 2, 2025
fee6ae1
Update output file paths in README
dchassin Dec 2, 2025
656bb4d
Fix pylint issues
dchassin Dec 2, 2025
f6f977d
Merge branch 'pypower-model' of https://github.com/slacgismo/regrow i…
dchassin Dec 2, 2025
3a38312
Refactor data I/O in timeseries solver
dchassin Dec 3, 2025
2f54137
Update ppsolver.py
dchassin Dec 3, 2025
bdf8de6
Rename gen class
dchassin Dec 4, 2025
4010032
Replace pypower_sim modules with package
dchassin Dec 4, 2025
91c95ff
Create wecc240_scheduling.py
dchassin Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions .github/workflows/main.yml

This file was deleted.

56 changes: 56 additions & 0 deletions .github/workflows/pypower.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: PyPOWER

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:

pypower:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.12

- name: Install packages
run: |
cd pypower
python3 -m pip install --upgrade pip -r requirements.txt pylint

- name: Analyse code
run: |
cd pypower
make pylint.txt

- name: Run tests
run: |
cd pypower
make tests || ( tar cfz ../pypower-test-results.tarz results ; false )
tar cfz ../pypower-test-results.tarz results

- name: Update summaries
run: |
cd pypower
make summaries
tar cfz ../pypower-summaries.tarz summaries

- name: Save test results
if: always()
uses: actions/upload-artifact@v5
with:
name: pypower-test-results
path: pypower-test-results.tarz

- name: Save summary output
if: always()
uses: actions/upload-artifact@v5
with:
name: pypower-summaries
path: pypower-summaries.tarz
2 changes: 2 additions & 0 deletions pypower/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
results/
pylint.txt
29 changes: 29 additions & 0 deletions pypower/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FILES=
FILES+=eia860m.py
FILES+=hifld.py
FILES+=kml.py
FILES+=ppdata.py
FILES+=ppgen.py
FILES+=ppmodel.py
FILES+=psse.py
FILES+=psse2pp.py
FILES+=scheduling.py

DATA=wecc240_psse.raw
DATA+=wecc240_gis.csv
DATA+=powerplants.csv.zip
DATA+=$(wildcard wecc240/*.csv)
DATA+=$(wildcard wecc240/scheduling/*.csv)

SCRIPTS=summaries.csv

all: pylint.txt summaries

pylint.txt: $(FILES)
pylint --fail-under=9 $(FILES) | tee pylint.txt

summaries: $(FILES) $(DATA) $(SCRIPT)
python3 summaries.py

tests: $(FILES) $(DATA) tests.py
python3 tests.py
Loading
Loading