code: def set_branch_ids(self):
          
  
          for grid_district in self.mv_grid_districts():
              grid_district.mv_grid.set_branch_ids()
  
          logger.info('=====> Branch IDs set')
docs: Performs generation and setting of ids of branches for all MV and underlying LV grids.            
              
          See Also
          --------
          ding0.core.network.grids.MVGridDing0.set_branch_ids