code: def singlediode(self):
          
          (photocurrent, saturation_current, resistance_series,
           resistance_shunt, nNsVth) = (
              self.system.calcparams_desoto(self.effective_irradiance,
                                            self.temps['temp_cell']))
  
          self.desoto = (photocurrent, saturation_current, resistance_series,
                         resistance_shunt, nNsVth)
  
          self.dc = self.system.singlediode(
              photocurrent, saturation_current, resistance_series,
              resistance_shunt, nNsVth)
  
          self.dc = self.system.scale_voltage_current_power(self.dc).fillna(0)
  
          return self
docs: Deprecated