pypowsybl.network.Network.update_boundary_lines¶
- Network.update_boundary_lines(df=None, **kwargs)[source]¶
Update boundary lines with data provided as a
DataFrameor as named arguments.- Parameters:
df (DataFrame | None) – the data to be updated, as a dataframe.
kwargs (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]) – the data to be updated, as named arguments. Arguments can be single values or any type of sequence. In the case of sequences, all arguments must have the same length.
- Return type:
None
Notes
Attributes that can be updated are:
r
x
g
b
p0
q0
p
q
connected
fictitious
pairing_key
bus_breaker_bus_id if the boundary line is in a voltage level with BUS_BREAKER topology
selected_limits_group
See also
Examples
Some examples using keyword arguments:
network.update_boundary_lines(id='L-1', p0=10, q0=3) network.update_boundary_lines(id=['L-1', 'L-2'], p0=[10, 20], q0=[3, 5])