Skip to content

Commit

Permalink
Bug fix internal voltage magnitude for AC TNEP
Browse files Browse the repository at this point in the history
closes #69
  • Loading branch information
hakanergun committed Jan 31, 2022
1 parent e4d4eea commit b07b61b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "PowerModelsACDC"
uuid = "ff45984e-d068-5f4c-9e32-c4133509d236"
autors = ["Hakan Ergun", "Frederik Geth", "Jay Dave"]
repo = "https://github.com/Electa-Git/PowerModelsACDC.jl"
version = "0.5.1"
version = "0.5.2"

[deps]
InfrastructureModels = "2030c09a-7f63-5d83-885d-db604e0e9cc0"
Expand Down
2 changes: 1 addition & 1 deletion src/core/variableconv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ function variable_converter_internal_voltage_magnitude_ne(pm::_PM.AbstractPowerM
start = _PM.ref(pm, nw, :convdc_ne, i, "Vtar")
)
if bounded
for (c, convdc) in _PM.ref(pm, nw, :convdc)
for (c, convdc) in _PM.ref(pm, nw, :convdc_ne)
JuMP.set_lower_bound(vmc_ne[c], convdc["Vmmin"])
JuMP.set_upper_bound(vmc_ne[c], convdc["Vmmax"])
end
Expand Down

0 comments on commit b07b61b

Please sign in to comment.