From 27353b6d25a9e19d58091ec85cb36e27fce2bb31 Mon Sep 17 00:00:00 2001 From: carleton Date: Wed, 28 Aug 2019 10:10:37 -0600 Subject: [PATCH] prep for next release --- CHANGELOG.md | 6 ++++-- Project.toml | 2 +- src/io/matpower.jl | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aede75024..63b89b992 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,10 @@ PowerModels.jl Change Log ========================= ### Staged -- Update to InfrastructureModels v0.3 -- Update to JuMP v0.20 +- nothing + +### v0.12.5 +- Update to InfrastructureModels v0.3 and JuMP v0.20 - Fixed power balance duals in w-space formulations (#591) - Dropped CI on Julia v1.0 diff --git a/Project.toml b/Project.toml index a382e09c1..7c16f6c39 100644 --- a/Project.toml +++ b/Project.toml @@ -2,7 +2,7 @@ name = "PowerModels" uuid = "c36e90e8-916a-50a6-bd94-075b64ef4655" authors = ["Carleton Coffrin"] repo = "https://github.com/lanl-ansi/PowerModels.jl" -version = "0.12.4" +version = "0.12.5" [deps] InfrastructureModels = "2030c09a-7f63-5d83-885d-db604e0e9cc0" diff --git a/src/io/matpower.jl b/src/io/matpower.jl index 8503aaa0e..18c0d89f1 100644 --- a/src/io/matpower.jl +++ b/src/io/matpower.jl @@ -382,7 +382,7 @@ function _matpower_to_powermodels!(mp_data::Dict{String,<:Any}) # use once available InfrastructureModels.arrays_to_dicts!(pm_data) - for optional in ["dcline", "load", "shunt", "storage"] + for optional in ["dcline", "load", "shunt", "storage", "switch"] if length(pm_data[optional]) == 0 pm_data[optional] = Dict{String,Any}() end