pypowsybl.network.Network.create_tie_lines#

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

Creates tie lines from two dangling lines. Both dangling lines must have the same UCTE Xnode code.

Parameters:
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:

  • id: the identifier of the new tie line

  • name: an optional human-readable name

  • dangling_line1_id: the ID of the first dangling line It must already exist.

  • dangling_line2_id: the ID of the second dangling line It must already exist.

Examples

Using keyword arguments:

network.create_tie_lines(id='tie_line_1', dangling_line1_id='DL-1', dangling_line2_id='DL-2')