pypowsybl.network.Network.update_hvdc_lines¶
- Network.update_hvdc_lines(df=None, **kwargs)[source]¶
Update HVDC 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:
converters_mode
target_p
max_p
nominal_v
r
connected1
connected2
fictitious
See also
Examples
Some examples using keyword arguments:
network.update_hvdc_lines(id='HVDC-1', target_p=800) network.update_hvdc_lines(id=['HVDC-1', 'HVDC-2'], target_p=[800, 600])