Loadflow

The loadflow module allows to run AC and DC loadflows. It also provides a method to check the consistency of a network with loadflow equations.

Running a loadflow

run_ac

Run an AC loadflow on a network.

run_dc

Run a DC loadflow on a network.

set_default_provider

Set the default loadflow provider

get_default_provider

Get the current default loadflow provider.

get_provider_names

Get list of supported provider names.

get_provider_parameters_names

Get list of parameters for the specified loadflow provider.

get_provider_parameters

Supported loadflow specific parameters for a given provider.

Parameters

The execution of the loadflow can be customized using loadflow parameters.

Parameters

Parameters for a loadflow execution.

get_provider_parameters_names

Get list of parameters for the specified loadflow provider.

get_provider_parameters

Supported loadflow specific parameters for a given provider.

Some enum classes are used in parameters:

VoltageInitMode

ConnectedComponentMode

BalanceType

Results

The loadflow result is actually a list of results, one for each component of the network:

ComponentResult

Loadflow result for one connected component of the network.

Some enum classes are used in results:

ComponentStatus

Parameters to validate loadflow

The validation of a loadflow can be customized using loadflow validation parameters.

ValidationParameters

Parameters for a loadflow validation.

Validate loadflow results

The following method allows to check the consistency of a network with AC loadflow equations.

run_validation

Checks that the network data are consistent with AC loadflow equations.

ValidationResult

The result of a loadflow validation.