pypowsybl.network.Network.get_network_area_diagram_displayed_voltage_levels#

Network.get_network_area_diagram_displayed_voltage_levels(voltage_level_ids, depth=0)[source]#

Gathers the name of the displayed voltage levels of a network-area diagram in a list, according to the input voltage level(s) and the depth of the diagram.

Parameters:
  • voltage_level_ids (Union[str, List[str]]) – the voltage level ID(s), center(s) of the diagram

  • depth (int) – the diagram depth around the voltage level

Returns:

a list of the displayed voltage levels

Return type:

List[str]