pypowsybl.network.Network.get_reactive_capability_curve_points¶
- Network.get_reactive_capability_curve_points(all_attributes=False, attributes=None)[source]¶
Get a dataframe of reactive capability curve points.
For each generator, the min/max reactive capabilities can be represented as curves. This dataframe describes those curves as a list of points, which associate a min and a max value of Q to a given value of P.
- 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:
A dataframe of reactive capability curve points.
- Return type:
DataFrame
Notes
The resulting dataframe, depending on the parameters, will include the following columns:
num: the point position in the curve description (starts 0 for a given generator)
p: the active power of the point, in MW
min_q: the minimum value of reactive power, in MVar, for this value of P
max_q: the maximum value of reactive power, in MVar, for this value of P
This dataframe is indexed on the generator ID.