pypowsybl.shortcircuit.create_analysis#
- create_analysis()[source]#
Creates a short-circuit analysis object, which can be used to run a short-circuit analysis on a network
Examples
>>> analysis = pypowsybl.shortcircuit.create_analysis() >>> analysis.set_faults(id='F1', element_id='Bus1', r= 1, x= 2) >>> res = analysis.run(network, parameters, provider_name)
- Returns:
A short-circuit analysis object.
- Return type:
ShortCircuitAnalysis