configure_bfs_load_flow_setup#

relsad.loadflow.ac.configure_bfs_load_flow_setup(bus_list: list, line_list: list)[source]#

Function that sets up the nested topology array and configures the radial tree according to the slack bus

Parameters
  • bus_list (list) – List containing the bus elements

  • line_list (list) – List containing the line elements

Returns

  • topology (list) – Nested topology list

  • bus_list (list) – Updated bus list