Description Usage Arguments Value Examples
View source: R/tpk-piv_iv_week.R
Obtain Psuedo IV Curve and other predicted IV features at reference conditions for a given week, used internally in IVxbyx function.
1 |
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. |
Psuedo-IV Curve data with features extracted and evaluation parameters of fitting grouped for a single, given period.
1 2 3 4 5 6 7 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.