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

add function to compute OTDF and evaluate outages using OTDF #2191

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

rbolgaryn
Copy link
Member

Key Points

  • makeOTDF:
    Calculates the Outage Transfer Distribution Factors (OTDF) matrix.
    Connects bus power injections to branch flows for outage scenarios.
    Inputs: PTDF matrix, LODF matrix, and outage branch indices.
    Output: OTDF matrix tailored for N-1 contingency analysis.

  • outage_results_OTDF:
    Computes branch power flows for each defined outage scenario using OTDF.
    Inputs: OTDF matrix, bus power vector (Pbus), and outage branch indices.
    Output: Array of branch power flows under each outage scenario.

  • Testing and Validation
    Tested against contingency analysis with pp.rundcpp

  • Application
    Useful for fast contingency analysis in power systems when DC approximation is acceptable.

Copy link

codecov bot commented Dec 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (875a3cb) 79.30% compared to head (fa20250) 79.30%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2191   +/-   ##
========================================
  Coverage    79.30%   79.30%           
========================================
  Files          255      255           
  Lines        27939    27946    +7     
========================================
+ Hits         22156    22163    +7     
  Misses        5783     5783           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rbolgaryn rbolgaryn merged commit 401d573 into develop Dec 20, 2023
19 checks passed
@rbolgaryn rbolgaryn deleted the feature/otdf branch December 20, 2023 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants