This function normalises the load across a DC power network.
normalise_dc_load( g, generation = "generation", demand = "demand", net_generation = "net_generation", capacity = "edge_limit", edge_name = "edge_name", node_name = "node_name", power_flow = "power_flow" )
| g | An igraph object. The graph representation of the network to be normalised |
|---|---|
| generation | A character string. The node attribute containing the flow generation |
| demand | A character string. The node attribute containing the flow demand |
| net_generation | A character string. The node atribute containing the difference between demand and generation for the current parametrization |
| capacity | A character string. The edge attribute containing the flow capacity of each edge |
| edge_name | A character string. The edge attribbute containing the edge names |
| node_name | A character string. The node attibute containing the node names |
| power_flow | A character string. The name of the edge atribute that contains the flow data |
an igraph object