lanl-ansi / PowerModelsDistribution.jl

A Julia/JuMP Package for Unbalanced Power Network Optimization
https://lanl-ansi.github.io/PowerModelsDistribution.jl/stable/
Other
146 stars 43 forks source link

FIX: p&q vars overwritten in IVRU formulation #439

Closed pseudocubic closed 1 year ago

pseudocubic commented 1 year ago

branch p and q variables were being overwritten with transformer and switch variables in the IVRU formulation. This fix ensures that separate pt and qt and psw and qsw variables are created for transformers and switches, respectively.

Closes #437

codecov[bot] commented 1 year ago

Codecov Report

Merging #439 (a4ffcf8) into main (5dac0a8) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #439   +/-   ##
=======================================
  Coverage   73.79%   73.79%           
=======================================
  Files          72       72           
  Lines       16299    16301    +2     
=======================================
+ Hits        12028    12030    +2     
  Misses       4271     4271           
Files Changed Coverage Δ
src/form/ivr.jl 79.06% <100.00%> (ø)

... and 3 files with indirect coverage changes

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