pypowsybl.network.Network.get_operational_limits#
- Network.get_operational_limits(all_attributes=False, attributes=None, show_inactive_sets=False)[source]#
Get the list of operational limits.
The resulting dataframe, depending on the parameters, will have some of the following columns:
element_id: Identifier of the network element on which this limit applies (could be for example a line or a transformer). This is the index column.
element_type: Type of the network element on which this limit applies (LINE, TWO_WINDINGS_TRANSFORMER, THREE_WINDINGS_TRANSFORMER, DANGLING_LINE)
side: The side of the element on which this limit applies (ONE, TWO, THREE)
name: The name of the limit
type: The type of the limit (CURRENT, ACTIVE_POWER, APPARENT_POWER)
value: The value of the limit
acceptable_duration: The duration, in seconds, for which the element can securely be operated under the limit value. By convention, the value -1 represents an infinite duration.
fictitious (optional): True if this limit is fictitious
group_name (optional): The name of the operational limit group this limit is in
selected (optional): True if this limit’s operational group is the selected one
- Parameters:
all_attributes (bool) – flag for including all attributes in the dataframe, default is false
attributes (List[str] | None) – attributes to include in the dataframe. The 2 parameters are mutually exclusive. If no parameter is specified, the dataframe will include the default attributes.
only_selected_sets – flag to choose whether inactive limit sets should also be included in the dataframe
show_inactive_sets (bool) –
- Returns:
All limits on the network
- Return type: