pypowsybl.network.Network.write_network_area_diagram_svg#

Network.write_network_area_diagram_svg(svg_file, voltage_level_ids=None, depth=0, high_nominal_voltage_bound=-1, low_nominal_voltage_bound=-1, edge_name_displayed=False)[source]#

Deprecated since version 1.1.0: Use write_network_area_diagram_svg with NadParameters instead.

Create a network area diagram in SVG format and write it to a file. :param svg_file: a svg file path :param voltage_level_id: the voltage level ID, center of the diagram (None for the full diagram) :param depth: the diagram depth around the voltage level :param high_nominal_voltage_bound: high bound to filter voltage level according to nominal voltage :param low_nominal_voltage_bound: low bound to filter voltage level according to nominal voltage :param edge_name_displayed: if true displays the edge’s names

Parameters:
  • svg_file (str | PathLike) –

  • voltage_level_ids (List[str] | str | None) –

  • depth (int) –

  • high_nominal_voltage_bound (float) –

  • low_nominal_voltage_bound (float) –

  • edge_name_displayed (bool) –

Return type:

None