code: def _load_config(config_path=None):
          
  
          config_files = ['config_db_tables', 'config_grid',
                          'config_grid_expansion', 'config_timeseries']
  
          # load configs
          if isinstance(config_path, dict):
              for conf in config_files:
                  config.load_config(filename='{}.cfg'.format(conf),
                                     config_dir=config_path[conf],
                                     copy_default_config=False)
          else:
              for conf in config_files:
                  config.load_config(filename='{}.cfg'.format(conf),
                                     config_dir=config_path)
  
          config_dict = config.cfg._sections
  
          # convert numeric values to float
          for sec, subsecs in config_dict.items():
              for subsec, val in subsecs.items():
                  # try str -> float conversion
                  try:
                      config_dict[sec][subsec] = float(val)
                  except:
                      pass
  
          # convert to time object
          config_dict['demandlib']['day_start'] = datetime.datetime.strptime(
              config_dict['demandlib']['day_start'], "%H:%M")
          config_dict['demandlib']['day_start'] = datetime.time(
              config_dict['demandlib']['day_start'].hour,
              config_dict['demandlib']['day_start'].minute)
          config_dict['demandlib']['day_end'] = datetime.datetime.strptime(
              config_dict['demandlib']['day_end'], "%H:%M")
          config_dict['demandlib']['day_end'] = datetime.time(
              config_dict['demandlib']['day_end'].hour,
              config_dict['demandlib']['day_end'].minute)
  
          return config_dict
docs: Load config files.
  
          Parameters
          -----------
          config_path : None or :obj:`str` or dict
              See class definition for more information.
  
          Returns
          -------
          :obj:`collections.OrderedDict`
              eDisGo configuration data from config files.