Skip to content

Commit

Permalink
Merge pull request #74 from Electa-Git/fix_issue_candiate_branch
Browse files Browse the repository at this point in the history
Bug fix on candidate converters
  • Loading branch information
hakanergun authored Jan 26, 2022
2 parents b81affe + 4dfbbbd commit e4d4eea
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 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.0"
version = "0.5.1"

[deps]
InfrastructureModels = "2030c09a-7f63-5d83-885d-db604e0e9cc0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The latest stable release of PowerModelACDC can be installed using the Julia pac
```julia
Pkg.add("PowerModelsACDC")
```
The current version of PowerModelsACDC is 0.5.0 and is compatible with PowerModels v0.19.1, InfrastrucureModels v0.7.2
The current version of PowerModelsACDC is 0.5.1 and is compatible with PowerModels v0.19.1, InfrastrucureModels v0.7.2


**Core Problem Specifications**
Expand Down
10 changes: 10 additions & 0 deletions docs/src/objective.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Objective

**OPF Objective**
* Minimisation of active power geneation costs
**TNEP Objectives**
* Minimisation of consturction cost for HVDC branches and converters
* Minimisation of consturction cost for HVDC branches and converters and AC branches (acdc_tnep)
* Minimisation of consturction cost for HVDC branches and converters and generation costs
* Minimisation of consturction cost for HVDC branches and converters and generation costs and AC branches(acdc_tnep)



```@meta
CurrentModule = PowerModelsACDC
```
Expand Down
2 changes: 1 addition & 1 deletion src/core/base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function add_candidate_dcgrid!(ref::Dict{Symbol,<:Any}, data::Dict{String,<:Any}
bus_convs_dc_ne = Dict([(bus["busdc_i"], []) for (i,bus) in nw_ref[:busdc]])
for (i,conv) in nw_ref[:convdc_ne]
if haskey(bus_convs_dc_ne, conv["busdc_i"])
push!(bus_convs_dc_ne, i)
push!(bus_convs_dc_ne[conv["busdc_i"]], i)
end
end
nw_ref[:bus_convs_dc_ne] = bus_convs_dc_ne
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ using Juniper

using Test

local_test = false # as some tests require Mosek, only limited set sent to travis.
local_test = false # as some tests require Mosek, only limited set sent to CI.

ipopt_solver = JuMP.optimizer_with_attributes(Ipopt.Optimizer, "tol" => 1e-6, "print_level" => 0)
scs_solver = JuMP.optimizer_with_attributes(SCS.Optimizer, "verbose" => 0)
Expand Down

2 comments on commit e4d4eea

@hakanergun
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/53223

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.1 -m "<description of version>" e4d4eea94c60943b028f6d119e8a50bedba7ab38
git push origin v0.5.1

Please sign in to comment.