Location: cellLib @ a1dd1872c24d / BG_fit / calc_beta.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-08-15 10:06:08+12:00
Desc:
Add Ce_BG for chemical species; Change C_BG to model the electrical capacitor; Add the first version of build BG script based on stoichiometry matrices.
Permanent Source URI:
https://models.physiomeproject.org/workspace/6bc/rawfile/a1dd1872c24d859834e27b7193a2317e7a4af835/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