code: def connect_generators(self, debug=False):
          
  
          self._graph = mv_connect.mv_connect_generators(self.grid_district, self._graph, debug)
docs: Connects MV generators (graph nodes) to grid (graph)
  
          Args
          ----
          debug: bool, defaults to False
              If True, information is printed during process