Skip to content

Commit aacf9f1

Browse files
committed
Fixed dictionary call in psse export
1 parent 8824212 commit aacf9f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/io/pti.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ function _pm2psse_2w_tran(pm_br::Dict{String, Any}, owner::Int, sbase::Real, sou
15421542
if haskey(pm_br, "source_id")
15431543
ckt = source == "pti" ? "\'$(pm_br["source_id"][5])\'" : "\'$(pm_br["source_id"][end])\'"
15441544
else
1545-
ckt = _default_transformer("CKT")
1545+
ckt = _default_transformer["CKT"]
15461546
end
15471547
sub_data["CKT"] = ckt
15481548
sub_data["CW"] = _default_transformer["CW"]

0 commit comments

Comments
 (0)