pypowsybl.network.Network.update_phase_tap_changers#
- Network.update_phase_tap_changers(df=None, **kwargs)[source]#
Update phase tap changers with data provided as a
DataFrame
or as named arguments.- Parameters:
df (DataFrame | None) – the data to be updated, as a dataframe.
kwargs (_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]) – 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 :
tap
regulating
regulation_mode
regulation_value
regulated_side
target_deadband
fictitious
See also
Examples
Some examples using keyword arguments:
network.update_phase_tap_changers(id='T-1', regulation_mode=CURRENT_LIMITER, regulation_value=500) network.update_phase_tap_changers(id=['T-1', 'T-2'], tap=[12, 25])