run_bfs_load_flow
run_bfs_load_flow#
- relsad.loadflow.ac.run_bfs_load_flow(network: relsad.network.systems.PowerNetwork.PowerNetwork, maxit: int = 5)[source]#
Solves the load flow with a specified number of iterations The two first septs are to set up additions topology information and to build the main structure Next, it is switched between forward sweeps (Voltage updates) and backward sweeps(load update and loss calcuation)
See /theory/bfs for more details.
- Parameters
network (PowerNetwork) – The analyzed network
maxit (int) – The number of iterations
- Returns
network.buses – List of network buses
- Return type
list