摘要 |
A method and apparatus for distributing energy through a network (1), the network comprising a plurality of nodes (i.e. consumer units (C1-C4) and provider units (P1-P6)), the method comprising: for each node in the network (1), generating one or more vectors and/or matrices indicative of the desired resource amount or the resource production capacity associated with that node; performing one or more times a process, the process being a process of performing steps (a) to (c); wherein step (a) comprises, for each node, selecting the nodes connected to that node; step (b) comprises, for each node, updating the current set of matrices and/or vectors for that node; and step (c) comprises, for each node, calculating a vector of flows; and delivering from a provider unit (P1-P6) to a consumer unit (C1-C4) connected to that provider unit (P1-P6), an amount of resource dependent on a vector of flows. |