Pypower model direct from PSS/E RAW model and support data files#82
Closed
dchassin wants to merge 172 commits into
Closed
Pypower model direct from PSS/E RAW model and support data files#82dchassin wants to merge 172 commits into
dchassin wants to merge 172 commits into
Conversation
Updated PSSE data segment mappings in README.
…nto pypower-model
Added section on DC lines, including details on bus numbers, loads, and costs.
…opyright/license issues)
Updated the README to include additional columns for DC line data and corrected text regarding DC lines in the PyPower model.
…nto pypower-model
Added documentation for EIA Form 860 and its data flow.
Added subgraph definitions for ppgen and eia860m_node_assignment in the README.
…nto pypower-model
Contributor
|
initial work on pypower, superseded by separate package. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The purpose of this PR is to create a pypower case of the WECC 240 directly from the PSS/E RAW file and verify that it solves correctly with the schedule, fossil, load, and renewable data updates.
Quick Start
Run
marimo edit .in thepypowerfolder, e.g.,The
review.pynotebook runs the model with various options and review features.PR Overview
This is accomplished by creating the following modules:
psse.pyread data from the WECC240 PSSE RAW file into data framespsse2pp.pyconverts the PSSE data into PyPOWER modelschedule.pyupdates a PyPOWER model with the NREL WECC240 scheduling datahifld.pyupdates a PyPOWER model with the HIFLD generation fleet data (TODO: replace witheia860m.py)loads.pyupdates a PyPOWER model with the NREL load datarenewables.pyupdates a PyPOWER model with the NREL renewables dataThe number of support folders are provided:
wecc240provides manually extracted CSV files of the PSSE RAW file and scheduling datatestsprovides miscellaneous testing data that not part of the code itself and used for development purposes.The following folders are created during normal usage of the model:
summariescontains summary CSV filesplotscontains PNG plotskmlcontains KML outputThe following folders are creating during testing
resultscontains the output of thetests.pyscript including CSV, PNG, KML, and Python files containing copies PyPOWER cases.How To
To load the original WECC240 PyPOWER model and run a simulation, do the following:
Tasks
PSS/E segment readers
PyPower model constructors
PSS/E to PyPower converters
bus,load, andshuntsegmentsbranchandxformsegmentsgensegmentgensegment and cost dataOriginal case modification options
International generator handling
Powerflow solutions
DC OPF solutions
AC OPF solutions
Time-series solution
Check plots
KML outputs
Github actions
pylintSummaries
Documentation