>
translate the single diode model parameters, extracted from the IV curves, from their measurement conditions to STC.
In concept, that's what fit_desoto_sandia does:
1. input a set of IV curves and the corresponding irradiance and temperature conditions, along with the temperature coefficient of short circuit current.
2. fit the single diode equation to each IV curve to obtain the five coefficients (photocurrent, saturation current, shunt resistance, series resistance, diode factor) *caveat below.
3. fit Desoto's equations to each coefficient as a function of irradiance and temperature.
The output of Step 3 are the model parameters which are the five coefficients at STC, along with a bandgap.
The caveat: this algorithm determines a single ideality factor from Voc vs. log(irradiance). For each IV curve, the other four coefficients are conditional on this ideality factor.
There are lots of ways to fit the diode equation to an IV curve, or to fit a whole diode model to a set of data. I make no claims that this particular method is best in any sense.
Cliff