IVuncertain {ddiv} | R Documentation |
Calculate the uncertainty of this data driven IV feature extraction
IVuncertain(
dat,
k = 7,
crt = 0.2,
num = 75,
crtvalb = 0.3,
iter = 100,
diff_slp = 0.01,
plot.option = FALSE
)
dat |
A dataframe of IV curve. The variable names should be "V" for voltage, and "I" for current. And rank with increasing voltage. |
k |
The number of equally-spaced values to supply as starting values for the breakpoints. The default is 7. |
crt |
a value to set for how large of regression coefficient change rate we use as not changing much. Should be the same as using function "IVExtractResult". Default is 0.6. |
num |
a value of number of data points. The default is 25. |
crtvalb |
a value to set the change of I(current) we want to use as changing very much (to detect the end of IV curve). Suggestion is to test this function with several IV curves for your data and find the proper value. The default is 0.3 |
iter |
number of iterations want to use to calculate uncertainty. Default is 100, takes about 2 minutes to finish calculation. |
diff_slp |
The difference between the slope on the left and on the right of the change point. The default is 0.01. |
plot.option |
True/False, it plots the IV curve. The default is false. |
a list of the following items:
"unct_Isc": uncertainty for short-circuit current, the number of variables is decided by the number of steps.
"unct_Rsh": uncertainty for shunt resistance, the number of variables is decided by the number of steps.
"unct_Voc": uncertainty for open-circuit voltage, the number of variables is decided by the number of steps.
"unct_Rs": uncertainty for series resistance, the number of variables is decided by the number of steps.
"unct_Pmp": uncertainty for maximum power for a solar cell/PV module, the number of variables is decided by the number of steps.
"unct_Imp": uncertainty for current at maximum power, the number of variables is decided by the number of steps.
"unct_Vmp": uncertainty for voltage at maximum power, the number of variables is decided by the number of steps.
"unct_FF": uncertainty for fill factor, the number of variables is decided by the number of steps.
"unct_Cutoff": uncertainty for change point indicating steps. NA means that the IV curve has only one step and there is no change points.
#this IV curve is of step=1
data(IV_step1)
IV1 <- data.frame(IV_step1)
IVuncertain(IV1)