pypowsybl.loadflow.run_ac#
- run_ac(network, parameters=None, provider='', reporter=None, report_node=None)[source]#
Run an AC load flow on a network.
- Parameters:
network (Network) – a network
parameters (Parameters | None) – the load flow parameters
provider (str) – the load flow implementation provider, default is the default load flow provider
reporter (ReportNode | None) – deprecated, use report_node instead
report_node (ReportNode | None) – the reporter to be used to create an execution report, default is None (no report)
- Returns:
A list of component results, one for each component of the network.
- Return type: