pypowsybl.loadflow.get_provider_parameters#

get_provider_parameters(provider=None)[source]#

Supported loadflow specific parameters for a given provider.

Parameters:

provider (str) – the provider, if not specified the provider will be the default one.

Returns:

loadflow parameters dataframe

Return type:

DataFrame

Examples

>>> parameters = pp.loadflow.get_provider_parameters('OpenLoadFlow')
>>> parameters['category_key']['slackBusSelectionMode']
'SlackDistribution'
>>> parameters['description']['slackBusSelectionMode']
'Slack bus selection mode'
>>> parameters['type']['slackBusSelectionMode']
'STRING'
>>> parameters['default']['slackBusSelectionMode']
'MOST_MESHED'
>>> parameters['possible_values']['slackBusSelectionMode']
'[FIRST, MOST_MESHED, NAME, LARGEST_GENERATOR]'