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: functions and capabilitites that automatically initialize the boundary power flow variables. #15

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

juanjospina
Copy link
Collaborator

  • Added functions and capabilitites that automatically initialize the boundary power flow variables (i.e., pbound_fr, pbound_to, qbound_fr, and qbound_to).
  • p/qbound_fr variables are initialized based on the data parsed from the transmission system data.
  • p/qbound_to variables are initialized by adding all the loads in the respective distribution systems and dividing them by 3 (assuming the initial state of the distribution system is balanced).
  • Refactored multiple functions in ref.jl to avoid unnecessary loops. These unnecessary loops were making the refs processes unnecessary long.

@codecov
Copy link

codecov bot commented Jun 14, 2023

Codecov Report

Merging #15 (c7cc5f1) into main (bdece4d) will increase coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   79.61%   79.75%   +0.14%     
==========================================
  Files          28       28              
  Lines        4007     4036      +29     
==========================================
+ Hits         3190     3219      +29     
  Misses        817      817              
Impacted Files Coverage Δ
src/core/variable.jl 100.00% <ø> (ø)
src/core/ref.jl 100.00% <100.00%> (ø)

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

@juanjospina juanjospina merged commit 0dd3c42 into main Jun 14, 2023
@juanjospina juanjospina deleted the InitBoundaryVarsITD branch June 14, 2023 20: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.

1 participant