pypowsybl.network.Network.update_operational_limits¶
- Network.update_operational_limits(df=None, **kwargs)[source]¶
Update operational limits values 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
Only the value of operational limits can be updated. To define which limit must be modified, the following fields must be present :
element_id
side
type
acceptable_duration
group_name (if not specified, will try to update the corresponding limit in the selected set of the element)
See also
Examples
An example using keyword arguments:
network.update_operational_limits(id='LINE', side='ONE', type='CURRENT', acceptable_duration=600, value=500)