Section
Section#
- class relsad.network.containers.Section(parent_section, lines: list, switches: list)[source]#
Common class for sections
…
- lines#
List of lines in the section
- Type
list
- switches#
List of switches in the section
- Type
list
- child_sections#
List of child sections
- Type
list
- state#
The state of the section
- Type
- connect(dt)[source]#
Connects the sections, connects the lines in the section and closes the switches in the section
- connect_manually()[source]#
Connects the sections, connects the lines in the section and closes the switches in the section. Used when no ICT
- get_disconnect_time(dt)[source]#
Returns the total outage time (the time the section is disconnected) of the section
- disconnect()[source]#
Disconnects the section, the lines in the section, and opens the switches in the section
Section.add_child_section(section)Adds child section to section
Section.attach_to_lines()Adds lines to section and child section
Section.connect(dt, controller)Connects the sections, connects the lines in the section and closes the switches in the section
Section.connect_manually()Connects the sections, connects the lines in the section and closes the switches in the section.
Section.disconnect()Disconnects the section, the lines in the section, and opens the switches in the section
Section.get_disconnect_time(dt, controller)Returns the total outage time (the time the section is disconnected) of the section
Section.rankSection.linesSection.switchesSection.parent_sectionSection.child_sectionsSection.state