Network.write_matrix_multi_substation_single_line_diagram_svg(matrix_ids, svg_file, metadata_file=None, parameters=None)[source]#

Create a single line diagram in SVG format from a voltage level or a substation and write to a file.

  • matrix_ids (List[List[str]]) – a two-dimensional list of substation id

  • svg_file (str | PathLike) – a svg file path

  • metadata_file (str | PathLike | None) – a json metadata file path

  • parameters (SldParameters | None) – single-line diagram parameters to adjust the rendering of the diagram

Return type: