pypowsybl.network.load_from_binary_buffer#

load_from_binary_buffer(buffer, parameters=None, post_processors=None, reporter=None, report_node=None)[source]#

Load a network from a binary buffer.

Parameters:
  • buffer (BytesIO) – The BytesIO data buffer

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

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

  • reporter (ReportNode | None) – deprecated, use report_node instead

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

Returns:

The loaded network

Return type:

Network