Skip to content

Commit a4e4ea1

Browse files
committed
FIX: bug for considering neutral phase.
1 parent 71e397f commit a4e4ea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data_model/transformations/ravens2math.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ function _map_ravens2math_conductor!(data_math::Dict{String,<:Any}, data_ravens:
297297
math_obj["f_bus"] = data_math["bus_lookup"][f_node]
298298
math_obj["t_bus"] = data_math["bus_lookup"][t_node]
299299

300-
bus_terminals = nconds >= 3 ? collect(1:nconds) : [_phase_map[phase["ACLineSegmentPhase.phase"]] for phase in ravens_obj["ACLineSegment.ACLineSegmentPhase"]]
300+
bus_terminals = nconds >= 4 ? collect(1:nconds) : [_phase_map[phase["ACLineSegmentPhase.phase"]] for phase in ravens_obj["ACLineSegment.ACLineSegmentPhase"]]
301301

302302
# TODO: Kron reduce bus terminals by removing conn 4
303303
reduce = false # flag for Kron reduction

0 commit comments

Comments
 (0)