pypowsybl.network.Network.get_non_linear_shunt_compensator_sections

Network.get_non_linear_shunt_compensator_sections(all_attributes=False, attributes=None, **kwargs)[source]

Get a dataframe of shunt compensators sections for non linear model.

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.

  • kwargs (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]) – the data to be selected, as named arguments.

Return type:

DataFrame

Notes

The resulting dataframe will have the following columns:

  • g: the accumulated conductance in S if the section and all the previous ones are activated.

  • b: the accumulated susceptance in S if the section and all the previous ones are activated

This dataframe is multi-indexed, by the tuple (id of shunt, section number).

Returns:

A dataframe of non linear model shunt compensators sections.

Parameters:
Return type:

DataFrame