Location: cellLib @ 0dac5431120e / BG_fit / calc_alpha.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-04-14 19:01:18+12:00
Desc:
Add readComp to create comp from the existing model file; correct updataVIO; modelValidation.py for validating model using cellML2.0 lib txt2cellml.psl for convert .txt files to .cellml files
Permanent Source URI:
https://models.cellml.org/workspace/6bc/rawfile/0dac5431120e7f9a1629e94034b7751917919b43/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