Location: BG_TCC @ 5b92820ca957 / matlab_parameter_fitting / calc_alpha.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-08 11:57:31+13:00
Desc:
Remove vol_o
Permanent Source URI:
https://models.fieldml.org/workspace/831/rawfile/5b92820ca957528ae68fd437d0e55f651b75666c/matlab_parameter_fitting/calc_alpha.m

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

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

end