Location: cellLib @ a7940fcacd45 / BG_fit / calc_alpha.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2023-04-04 15:51:18+12:00
- Desc:
- Add a steady state example
- Permanent Source URI:
- https://models.fieldml.org/workspace/6bc/rawfile/a7940fcacd455a09bdb7beac0da91eca79cf1adb/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