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

REF: Revise SOCX boundary voltage constraints #10

Merged
merged 4 commits into from
Dec 20, 2022

Conversation

juanjospina
Copy link
Collaborator

The major motivation(s) behind this PR is:

  1. Revise the SOCX boundary voltage constraints with new linear derivations.
  2. Add calc_transmission_branch_flow_ac function that allows the computation of branch power flows for transmission systems when solving PFITD.

Code Changes

  • Added new function calc_transmission_branch_flow_ac to data.jl that computes the branch power flows for transmission system when solving PFITD.
  • Refactored SOCBF-SOCNLUBF voltage and angle boundary constraints.
  • Refactored SOCBFConic-SOCUBFConic voltage and angle boundary constraints.
  • Refactored SOCWRConic-SOCConicUBF voltage and angle boundary constraints.
  • Refactored SDPWRM-SOCConicUBF voltage and angle boundary constraints.

@codecov
Copy link

codecov bot commented Dec 20, 2022

Codecov Report

Merging #10 (ead8e6a) into main (cb5767d) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
+ Coverage   81.13%   81.24%   +0.11%     
==========================================
  Files          28       28              
  Lines        3975     3999      +24     
==========================================
+ Hits         3225     3249      +24     
  Misses        750      750              
Impacted Files Coverage Δ
src/core/data.jl 92.30% <100.00%> (+0.64%) ⬆️
src/form/wmodels.jl 96.39% <100.00%> (+0.79%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@juanjospina juanjospina merged commit 88d4e89 into main Dec 20, 2022
@juanjospina juanjospina deleted the reviseSOCBFconstraints branch December 20, 2022 22:43
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.

1 participant