PowerGrid model
PowerDynamics.systemsize
— MethodReturns the total size of dynamical variables of the whole powergrid
PowerDynamics.PowerGrid
— TypePowergrid(graph, nodes, lines)
Our model describes a powergrid as an undirected graph consisting of edges that represent electrical lines and vertices that represent specific electrical nodes i.e. generators, inverters etc.
PowerDynamics.PowerGrid
— MethodPowergrid(nodes, lines)
creates a PowerGrid
from nodes and lines (either given as a list or as a dictionay). The underlying graph is created automatically.