pypowsybl.network.Network.get_operational_limits#

Network.get_operational_limits(all_attributes=False, attributes=None)[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.

  • is_fictitious: true if this limit is fictitious

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.

Returns:

All limits on the network

Return type:

DataFrame