Location: cellLib @ c05a1749b300 / BG_fit / calc_alpha.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-05-03 15:18:13+12:00
Desc:
Seperate the setlim for plotExp.py; Update readme.txt
Permanent Source URI:
https://models.fieldml.org/workspace/6bc/rawfile/c05a1749b3003de5c15cc530b579b4671106b978/BG_fit/calc_alpha.m

function alpha = calc_alpha(params,V,T)
% params: [kf, zf, kr, zr];
R = 8.314;
F = 96485;

alpha = params(1)*exp(params(2)*F*V/R/T);

end