Electa-Git / PowerModelsACDC.jl

A hybrid AC/DC OPF package based on PowerModels.jl
BSD 3-Clause "New" or "Revised" License
53 stars 20 forks source link

Transformer & filter models #1

Closed hakanergun closed 6 years ago

hakanergun commented 6 years ago

Transformer, filter and reactor losses need to be added

frederikgeth commented 6 years ago

added in b2815f2bc46cfe853ed7644bfbeaf1f0e0b8c645 for all formulations to be tested further.

also included, a setting to ignore impedance values for transformer and phase reactor below a certain threshold, through setting = Dict("zthresh" => 0.0001)

hakanergun commented 6 years ago

I think instead of ztthresh, it sshould be a binary parameter to include the components.

ccoffrin commented 6 years ago

I think a binary parameter is a better long term solution as well.

hakanergun commented 6 years ago

Binaries implemented (similar to the version before with if cases). It would be possible to add the constraints as sums using the binaries to make all the distinctions, nevertheless that's not handy because the constraint change from linear to non-linear (even if the binary of NL constraint is 0).