pypowsybl.network.Network.create_operational_limits#
- Network.create_operational_limits(df=None, **kwargs)[source]#
Creates operational limits.
Notes
Data may be provided as a dataframe or as keyword arguments. In the latter case, all arguments must have the same length.
Valid attributes are:
element_id: the ID of the network element on which we want to create new limits THREE_WINDINGS_TRANSFORMER, DANGLING_LINE)
side: the side of the network element where we want to create new limits (ONE, TWO, THREE)
name: the name of the limit
type: the type of limit to be created (CURRENT, APPARENT_POWER, ACTIVE_POWER)
value: the value of the limit in A, MVA or MW
acceptable_duration: the maximum number of seconds during which we can operate under that limit
fictitious: fictitious limit ?
For each location of the network defined by a couple (element_id, side):
if operational limits already exist, they will be replaced
multiple limits may be defined, typically with different acceptable_duration
you can only define ONE permanent limit, identified by an acceptable_duration of -1
- Parameters:
- Return type:
None