code: def _remove_isolated(self, case):
          
  #        case.deactivate_isolated()
          buses = case.connected_buses
          branches = case.online_branches
          gens = case.online_generators
  
          return buses, branches, gens
docs: Returns non-isolated case components.