The topological foundations of electrical networks — complete models