pypowsybl.network.Network.update_voltage_source_converters¶
- Network.update_voltage_source_converters(df=None, **kwargs)[source]¶
Update voltage source converters 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:
target_v_dc
target_v_ac
target_p
target_q
p_ac
q_ac
p_dc1
p_dc2
fictitious
See also
Examples
Some examples using keyword arguments:
network.update_voltage_source_converters(id='CONV-1', p=40) network.update_voltage_source_converters(id=['CONV-1', 'CONV-2'], target_p=[40, 40])