pypowsybl.network.Network.get_tie_lines¶
- Network.get_tie_lines(all_attributes=False, attributes=None, **kwargs)[source]¶
Get a dataframe of tie lines.
- Parameters:
all_attributes (bool) – flag for including all attributes in the dataframe, default is false
attributes (List[str] | None) – attributes to include in the dataframe. The 2 parameters are mutually exclusive. If no parameter is specified, the dataframe will include the default attributes.
kwargs (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]) – the data to be selected, as named arguments.
- Returns:
A dataframe of tie lines.
- Return type:
DataFrame
Notes
The resulting dataframe, depending on the parameters, will include the following columns:
boundary_line1_id: The ID of the first boundary line
boundary_line2_id: The ID of the second boundary line
dangling_line1_id: deprecated for boundary_line1_id
dangling_line2_id: deprecated for boundary_line2_id
pairing_key: the pairing key of the tie line, obtained from the boundary lines.
ucte_xnode_code: deprecated for pairing_key.
connected1:
Trueif the dangling line 1 is connected to a busconnected2:
Trueif the dangling line 2 is connected to a busfictitious (optional):
Trueif the tie line is part of the model and not of the actual network
This dataframe is indexed by the id of the tie lines