pypowsybl.network.Network.update_vsc_converter_stations#

Network.update_vsc_converter_stations(df=None, **kwargs)[source]#

Update VSC converter stations 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 are:

  • loss_factor

  • target_v

  • target_q

  • voltage_regulator_on

  • p

  • q

  • connected

  • regulated_element_id

  • fictitious

Examples

Some examples using keyword arguments:

network.update_vsc_converter_stations(id='S-1', target_v=400, voltage_regulator_on=True)
network.update_vsc_converter_stations(id=['S-1', 'S-2'], target_v=[400, 400])