code: def data_to_list(self, sysbase=False):
          
          ret = list()
  
          # for each element
          for i in range(self.n):
              # read the parameter values and put in the temp dict ``e``
              e = {}
              for key in self.data_keys:
                  if sysbase and (key in self._store):
                      val = self._store[key][i]
                  else:
                      val = self.__dict__[key][i]
                  e[key] = val
  
              ret.append(e)
  
          return ret
docs: Return the loaded model data as a list of dictionaries.
  
          Each dictionary contains the full parameters of an element.
          :param sysbase: use system base quantities
          :type sysbase: bool