ac#

Functions

accumulate_load(topology_list)

Calculates the accumulated downstream active and reactive load at all buses and calculates the active and reactive losses of lines and make an accumulated equivalent load at the buses The function returns the accumulated loads and the accumulated power losses from a branch in the system

calc_bus_voltage_sensitivity_single_phase(...)

Calculate the node voltages and sensitivities in the single phase case

configure_bfs_load_flow_setup(bus_list, ...)

Function that sets up the nested topology array and configures the radial tree according to the slack bus

get_load(bus)

Calculates the net voltage corrected load at the bus - currently a simple ZIP model is applied.

run_bfs_load_flow(network[, maxit])

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)

update_voltage(topology_list)

Update the voltage profile based on the accumulated load on each bus