We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e21c55 commit 5e8a35eCopy full SHA for 5e8a35e
src/pwf2pm/branch.jl
@@ -32,6 +32,8 @@ function _handle_br_status!(pm_data::Dict, sub_data::Dict, branch::Dict)
32
if pm_data["bus"]["$f_bus"]["bus_type"] != 4 && pm_data["bus"]["$t_bus"]["bus_type"] != 4
33
if branch["STATUS"] == branch["OPENING FROM BUS"] == branch["OPENING TO BUS"] == 'L'
34
sub_data["br_status"] = 1
35
+ else
36
+ sub_data["br_status"] = 0
37
end
38
else
39
sub_data["br_status"] = 0
0 commit comments