power_loss_phys_bat: Physical Model Power Loss Modes

Description Usage Arguments Value Examples

View source: R/tpk-power_loss-phys.R

Description

This function decouples power loss to different loss modes, specifically current mismatch, recombination, uniform current loss, and Rs loss, from the changes in IV features.

Usage

1
power_loss_phys_bat(df_iv, init_df, corr_T = 40, N_c, ddiv_param = 0.06)

Arguments

df_iv

Dataframe containing psuedo-IV curves. Generate with IVXbyX.

init_df

Dataframe containing first several weeks of real-world IV data. Generate with select_init_df

corr_T

The temperature from which to create the correction factor. Pass only numeric values.

N_c

Number of cells in series; The total number of cells in the system.

ddiv_param

Parameter passed to ddiv::IVfeature for 'crtvalb'

Value

dataframe containing information about power loss due to various power loss modes

Examples

1
2
3
4
df <- read_df_raw(df_wbw,0.02,7)
df_init <- select_init_df(df, days = 21)
df_full <- IVXbyX(df, corr_temp = 30, 60)
res <- power_loss_phys_bat(df_full, df_init, corr_T = 30, N_c = 60)

SunsVoc documentation built on April 30, 2021, 5:07 p.m.