def mv_routing(self, debug=False, animation=False):
        """ Performs routing on all MV grids.

        Parameters
        ----------
        debug: bool, default to False
            If True, information is printed while routing
        animation: bool, default to False
            If True, images of route modification steps are exported during routing process. A new animation object is created.
                
        See Also
        --------
        ding0.core.network.grids.MVGridDing0.routing : for details on MVGridDing0 objects routing
        ding0.tools.animation.AnimationDing0 : for details on animation function.
        """

        if animation:
            anim = AnimationDing0()
        else:
            anim = None

        for grid_district in self.mv_grid_districts():
            grid_district.mv_grid.routing(debug=debug, anim=anim)

        logger.info('=====> MV Routing (Routing, Connection of Satellites & '
                    'Stations) performed')
Performs routing on all MV grids.

        Parameters
        ----------
        debug: bool, default to False
            If True, information is printed while routing
        animation: bool, default to False
            If True, images of route modification steps are exported during routing process. A new animation object is created.
                
        See Also
        --------
        ding0.core.network.grids.MVGridDing0.routing : for details on MVGridDing0 objects routing
        ding0.tools.animation.AnimationDing0 : for details on animation function.