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