pypowsybl.network.Network.update_boundary_lines_generation¶
- Network.update_boundary_lines_generation(df=None, **kwargs)[source]¶
Update boundary lines generation part 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:
min_p
max_p
target_p
target_q
target_v
voltage_regulator_on
See also
Examples
Some examples using keyword arguments:
network.update_boundary_lines_generation(id='BL', voltage_regulator_on=True, target_v=225) network.update_boundary_lines_generation(id=['BL', 'BL2'], voltage_regulator_on=[True, True], target_v=[225, 400])