Location: BG_Ks @ 3e2973fc7e95 / matlab_parameter_fitting / calc_alpha.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-07 15:55:11+13:00
Desc:
fix equation for q_mem
Permanent Source URI:
https://models.cellml.org/workspace/82d/rawfile/3e2973fc7e95561205c84e3977ffb07d2d7f9847/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