docs: def data_to_sys_base(self):
          """
          Converts parameters to system base. Stores a copy in ``self._store``.
          Sets the flag ``self.flag['sysbase']`` to True.
  
          :return: None
          """
          if (not self.n) or self._flags['sysbase']:
              return
          Sb = self.system.mva
          Vb = matrix([])
          if 'bus' in self._ac.keys():
              Vb = self.read_data_ext('Bus', 'Vn', idx=self.bus)
          elif 'bus1' in self._ac.keys():
              Vb = self.read_data_ext('Bus', 'Vn', idx=self.bus1)
  
          for var in self._voltages:
              self._store[var] = self.__dict__[var]
              self.__dict__[var] = mul(self.__dict__[var], self.Vn)
              self.__dict__[var] = div(self.__dict__[var], Vb)
          for var in self._powers:
              self._store[var] = self.__dict__[var]
              self.__dict__[var] = mul(self.__dict__[var], self.Sn)
              self.__dict__[var] /= Sb
          for var in self._currents:
              self._store[var] = self.__dict__[var]
              self.__dict__[var] = mul(self.__dict__[var], self.Sn)
              self.__dict__[var] = div(self.__dict__[var], self.Vn)
              self.__dict__[var] = mul(self.__dict__[var], Vb)
              self.__dict__[var] /= Sb
          if len(self._z) or len(self._y):
              Zn = div(self.Vn**2, self.Sn)
              Zb = (Vb**2) / Sb
              for var in self._z:
                  self._store[var] = self.__dict__[var]
                  self.__dict__[var] = mul(self.__dict__[var], Zn)
                  self.__dict__[var] = div(self.__dict__[var], Zb)
              for var in self._y:
                  self._store[var] = self.__dict__[var]
                  if self.__dict__[var].typecode == 'd':
                      self.__dict__[var] = div(self.__dict__[var], Zn)
                      self.__dict__[var] = mul(self.__dict__[var], Zb)
                  elif self.__dict__[var].typecode == 'z':
                      self.__dict__[var] = div(self.__dict__[var], Zn + 0j)
                      self.__dict__[var] = mul(self.__dict__[var], Zb + 0j)
  
          if len(self._dcvoltages) or len(self._dccurrents) or len(
                  self._r) or len(self._g):
              dckey = sorted(self._dc.keys())[0]
              Vbdc = self.read_data_ext('Node', 'Vdcn', self.__dict__[dckey])
              Ib = div(Sb, Vbdc)
              Rb = div(Vbdc, Ib)
  
          for var in self._dcvoltages:
              self._store[var] = self.__dict__[var]
              self.__dict__[var] = mul(self.__dict__[var], self.Vdcn)
              self.__dict__[var] = div(self.__dict__[var], Vbdc)
  
          for var in self._dccurrents:
              self._store[var] = self.__dict__[var]
              self.__dict__[var] = mul(self.__dict__[var], self.Idcn)
              self.__dict__[var] = div(self.__dict__[var], Ib)
  
          for var in self._r:
              self._store[var] = self.__dict__[var]
              self.__dict__[var] = div(self.__dict__[var], Rb)
  
          for var in self._g:
              self._store[var] = self.__dict__[var]
              self.__dict__[var] = mul(self.__dict__[var], Rb)
  
          self._flags['sysbase'] = True