pypowsybl.network.Network.get_network_area_diagram#

Network.get_network_area_diagram(voltage_level_ids=None, depth=0, high_nominal_voltage_bound=-1, low_nominal_voltage_bound=-1, nad_parameters=None, fixed_positions=None)[source]#

Create a network area diagram.

Parameters:
  • voltage_level_ids (List[str] | str | None) – the voltage level IDs, centers of the diagram (None for the full diagram)

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

  • high_nominal_voltage_bound (float) – high bound to filter voltage level according to nominal voltage

  • low_nominal_voltage_bound (float) – low bound to filter voltage level according to nominal voltage

  • nad_parameters (NadParameters | None) – parameters for network area diagram

  • fixed_positions (DataFrame | None) – optional dataframe used to set fixed coordinates for diagram elements. Positions for elements not specified in the dataframe will be computed using the current layout.

Returns:

the network area diagram

Return type:

Svg