pypowsybl.network.Network.create_minmax_reactive_limits#

Network.create_minmax_reactive_limits(df=None, **kwargs)[source]#

Creates reactive limits of type min/max.

Parameters:
Return type:

None

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:

  • id: the identifier of the generator

  • min_q: minimum reactive limit, in MVAr

  • max_q: maximum reactive limit, in MVAr

Previously defined limits for a given generator, if present, will be replaced by the new ones.

Examples

Using keyword arguments:

network.create_minmax_reactive_limits(id='GEN-1', min_q=-100, max_q=100)