Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate pypower solver #172

Merged
merged 125 commits into from
Mar 13, 2024
Merged

Conversation

dchassin
Copy link
Member

@dchassin dchassin commented Feb 20, 2024

New capabilities

Add support for fully integrated pypower solver.

  • Add bus class
  • Add branch class
  • Add gen class
  • Add load class
  • Add powerplant class
  • Add powerline class
  • Add gencost class
  • Add module globals
    • version: specify the PyPower solver version
    • solver_method: specify PyPower solver algorithm
    • maximum_timestep: specify the maximum gridlabd timestep to allow between solutions
    • solve_update_resolution: specify the minimum value magnitude to consider a change needing iteration
    • baseMVA: specify the base MVA to use in per-unit conversions
    • enable_opf: enables the OPF solver
    • stop_on_failure: stop gridlabd if solver fails
    • save_case: enable saving of solver input and output data
    • controllers: specify the controller function python file
    • controllers_path: specify the path to find the controllers file
  • Add support for OPF solver

Validation

  • Add IEEE test cases 14, 30, 39, 57, and 118.

Documentation

  • Add documentation for pypower module and py2glm converter.

Fixes needed

  • Fix powerflow::substation to support pypower::load object
  • Fix source/gridlabd.h to support global variable tests
  • Fix complex number converter to support python format
  • Fix gridlabd.in to support using gridlabd.rc files found in local and home directories.

See docs/Module/Pypower.md and docs/Converters/Import/PyPower_cases.md for documentation.

@dchassin dchassin added documentation Improvements or additions to documentation enhancement New feature or request labels Feb 20, 2024
@dchassin dchassin requested a review from aivanova5 February 20, 2024 18:45
@dchassin dchassin self-assigned this Feb 20, 2024
dchassin and others added 20 commits February 20, 2024 12:09
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
@dchassin dchassin force-pushed the develop-regrow-task3 branch from 5919c60 to da1bde1 Compare February 20, 2024 20:09
@dchassin dchassin mentioned this pull request Mar 13, 2024
4 tasks
@dchassin dchassin merged commit 5f094d6 into arras-energy:develop Mar 13, 2024
2 checks passed
dchassin pushed a commit to dchassin/gridlabd that referenced this pull request Mar 13, 2024
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <david.chassin@me.com>
@dchassin dchassin deleted the develop-regrow-task3 branch March 17, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

1 participant