pypowsybl.network.Network.update_loading_limits¶
- Network.update_loading_limits(df=None, **kwargs)[source]¶
Update loading limits values with data provided as a
DataFrameor as named arguments.- Parameters:
df (DataFrame | None) – the data to be updated, as a dataframe.
kwargs (ArrayLike) – 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 loading 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_loading_limits(id='LINE', side='ONE', type='CURRENT', acceptable_duration=600, value=500)