Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self, system, units=ModelUnitSystem):
super().__init__(system, units=units)

cyme_file = "Network"
cyme_section = "SWITCH SETTING"
cyme_section = ["SWITCH SETTING", "BREAKER SETTING", "SECTIONALIZER SETTING"]

def parse(self, row, used_sections, section_id_sections):
name = self.map_name(row)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ def __init__(self, system, units=ModelUnitSystem):
super().__init__(system, units=units)

cyme_file = "Equipment"
cyme_section = "SWITCH"
cyme_section = ["SWITCH", "BREAKER", "SECTIONALIZER"]

def parse(self, row, phases):

name = self.map_name(row, phases)
if len(list(self.system.list_components_by_name(MatrixImpedanceSwitchEquipment, name))) > 0:
return None
r_matrix = self.map_r_matrix(phases)
x_matrix = self.map_x_matrix(phases)
c_matrix = self.map_c_matrix(phases)
Expand Down
Loading