Location: cellLib @ a1dd1872c24d / Scripts / Xi_cal.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.cellml.org/workspace/6bc/rawfile/a1dd1872c24d859834e27b7193a2317e7a4af835/Scripts/Xi_cal.m
function Xi=Xi_cal(t,E,Xo) T = t+273.15; % K R = 8.314; % unit J/mol/K F = 96.48534; % C/mol Xi=Xo/exp(E*F/(R*T));