p_iv.week {SunsVoc} | R Documentation |
Obtain Psuedo IV Curve and other predicted IV features at reference conditions for a given week, used internally in IVxbyx function.
Description
Obtain Psuedo IV Curve and other predicted IV features at reference conditions for a given week, used internally in IVxbyx function.
Usage
p_iv.week(df, temp, N_c, isc_1sun = NULL)
Arguments
df |
A dataframe containing timeseries I-V features of one period. |
temp |
The reference module temperature to correct the Psuedo IV curve to be, unit of the temperature should be Celsius. |
N_c |
Number of cells in series. Equal to the total number of cells in the system. |
isc_1sun |
(optional) Input an Isc 1-Sun value manually. Leave NULL to have one generated from the dataframe. |
Value
Psuedo-IV Curve data with features extracted and evaluation parameters of fitting grouped for a single, given period.
Examples
df <- read_df_raw(df_wbw,0.02,7)
df_slice <- dplyr::filter(df, df$n_period == 1)
# Check that this has enough data! needs more than 10 rows to be meaningful
nrow(df_slice)
# needs median temperature
temp <- median_temp(df_wbw)
res <- p_iv.week(df_slice, temp = temp, N_c = 60)
[Package SunsVoc version 0.1.2 Index]