A method for controlling power distribution through an electrical network comprising the steps of: a) modelling the network to: relate current flow (| I ij |, Q ij) in at least one designated branch connecting a pair of nodes ( ij) of the network to a combination of measured voltage and power being injected at a node i of the network to which a device that injects and absorbs reactive power is connected; relate an expected voltage ( V MinD) at the node i at a given level of network demand to a combination of active and reactive power being injected by said device at said node i; relate reactive power to voltage sensitivity ∂ Q ∂ V at the node i to a combination of voltage and power being injected at the node i; b) measuring voltage, and injected reactive power and active power at the node i; c) calculating a desired set voltage V Set Old at said node i which minimizes current flow in said designated branch for a given measured voltage and power injected at the node i; d) calculating said expected voltage based on said injected reactive and active power; e) calculating an adjusted desired set voltage V Set New based on said expected voltage; f) determining a required adjustment of said device's voltage set point (Δ V New) based on a difference between said adjusted desired set voltage and said measured voltage; g) calculating a reactive power to voltage sensitivity ∂ Q ∂ V based on measured voltage and power injected at the node i; h) calculating a required change (Δ Q) to said device's reactive power setting as a function of said adjusted desired set voltage and said reactive power to voltage sensitivity; and i) communicating said required change to said device. a) modelling the network to: relate current flow (| I ij |, Q ij) in at least one designated branch connecting a pair of nodes ( ij) of the network to a combination of measured voltage and power being injected at a node i of the network to which a device that injects and absorbs reactive power is connected; relate an expected voltage ( V MinD) at the node i at a given level of network demand to a combination of active and reactive power being injected by said device at said node i; relate reactive power to voltage sensitivity ∂ Q ∂ V at the node i to a combination of voltage and power being injected at the node i; relate current flow (| I ij |, Q ij) in at least one designated branch connecting a pair of nodes ( ij) of the network to a combination of measured voltage and power being injected at a node i of the network to which a device that injects and absorbs reactive power is connected; relate an expected voltage ( V MinD) at the node i at a given level of network demand to a combination of active and reactive power being injected by said device at said node i; relate reactive power to voltage sensitivity ∂ Q ∂ V at the node i to a combination of voltage and power being injected at the node i; b) measuring voltage, and injected reactive power and active power at the node i; c) calculating a desired set voltage V Set Old at said node i which minimizes current flow in said designated branch for a given measured voltage and power injected at the node i; d) calculating said expected voltage based on said injected reactive and active power; e) calculating an adjusted desired set voltage V Set New based on said expected voltage; f) determining a required adjustment of said device's voltage set point (Δ V New) based on a difference between said adjusted desired set voltage and said measured voltage; g) calculating a reactive power to voltage sensitivity ∂ Q ∂ V based on measured voltage and power injected at the node i; h) calculating a required change (Δ Q) to said device's reactive power setting as a function of said adjusted desired set voltage and said reactive power to voltage sensitivity; and i) communicating said required change to said device.