Location: cellLib @ a1dd1872c24d / BG_fit / calc_alpha.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_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