pypowsybl.network.create_empty

create_empty(network_id='Default', allow_variant_multi_thread_access=False)[source]

Create an empty network.

Parameters:
  • network_id (str) – id of the network, defaults to ‘Default’

  • allow_variant_multi_thread_access (bool)

Returns:

a new empty network

Return type:

Network