pypowsybl.network.Network.update_static_var_compensators¶
- Network.update_static_var_compensators(df=None, **kwargs)[source]¶
Update static var compensators 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:
b_min
b_max
target_v
target_q
regulation_mode
p
q
connected
regulated_element_id
fictitious
See also
Examples
Some examples using keyword arguments:
network.update_static_var_compensators(id='SVC-1', target_v=225) network.update_static_var_compensators(id=['SVC-1', 'SVC-2'], target_v=[226, 405])