Location: cellLib @ e4a1c78339a5 / BG_fit / calc_beta.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-03-17 11:21:28+13:00
Desc:
Move constants to the interface
Permanent Source URI:
https://models.fieldml.org/workspace/6bc/rawfile/e4a1c78339a523940c1c524aa31ef4affc9ccaf8/BG_fit/calc_beta.m

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

beta = params(3)*exp(params(4)*F*V/R/T);

end