pypowsybl.network.Network.create_internal_connections

Network.create_internal_connections(df=None, **kwargs)[source]

Creates internal connections.

Parameters:
  • df (DataFrame | None) – Attributes as a dataframe.

  • kwargs (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]) – Attributes as keyword arguments.

Return type:

None

Notes

Data may be provided as a dataframe or as keyword arguments. In the latter case, all arguments must have the same length.

Valid attributes are:

  • voltage_level_id: voltage level identifier. The voltage level must be in Node/Breaker topology kind.

  • node1: node 1 of the internal connection

  • node2: node 2 of the internal connection

Examples

Using keyword arguments:

network.create_internal_connections(voltage_level_id='VL1', node1=3, node2=6)