Location: cellLib @ f43cbb897309 / BG_fit / calc_alpha.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-07-01 10:53:27+12:00
Desc:
Output dSi in MarkovS model; when connecting inputs of the parent module to the inputs of the children, use pub interface instead of catogary
Permanent Source URI:
https://staging.physiomeproject.org/workspace/6bc/rawfile/f43cbb897309bd088d85b7d77ca07f3e37dcc8ec/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