pypowsybl.network.Network.update_from_file

Network.update_from_file(file, parameters=None, post_processors=None, report_node=None)[source]

Updates a network by loading information from a file. File should be in a supported format.

Parameters:
  • file (str | PathLike) – path to the network file

  • parameters (Dict[str, str] | None) – a dictionary of import parameters (optional)

  • post_processors (List[str] | None) – a list of import post processors (optional, will be added to the ones defined by the platform config)

  • report_node (ReportNode | None) – the reporter to be used to create an execution report, default is None (no report)

Return type:

None