Skip to content

Commit

Permalink
fix typo in f = F/RT (#4069)
Browse files Browse the repository at this point in the history
Co-authored-by: Arjun Verma <arjunverma.oc@gmail.com>
  • Loading branch information
rtimms and arjxn-py committed May 7, 2024
1 parent e9711ee commit fadf094
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/examples/notebooks/models/MSMR.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"$$ \\text{Li}^{+} + \\text{e}^{-} + \\text{H}_{j} \\rightleftharpoons (\\text{Li--H})_{j}.$$\n",
"For each species $j$, a vacant host site $\\text{H}_{j}$ can accommodate one lithium leading to a filled host site $(\\text{Li--H})_{j}$. The OCV for this reaction is written as\n",
"$$ U_j = U_j^0 + \\frac{\\omega_j}{f}\\log\\left(\\frac{X_j - x_j}{x_j}\\right),$$\n",
"where $f = (RT)/F$, and $R$, $T$, and $F$ are the universal gas constant, temperature in Kelvin, and Faraday’s constant, respectively. Here $X_j$ represents the total fraction of available host sites which can be occupied by species $j$, $x_j$ is the fraction of filled sites occupied by species $j$, $U_j^0$ is a concentration independent standard electrode potential, and the $\\omega_j$ is an unitless parameter that describes the level of disorder of the reaction represented by gallery $j$. \n",
"where $f = F/(RT)$, and $R$, $T$, and $F$ are the universal gas constant, temperature in Kelvin, and Faraday’s constant, respectively. Here $X_j$ represents the total fraction of available host sites which can be occupied by species $j$, $x_j$ is the fraction of filled sites occupied by species $j$, $U_j^0$ is a concentration independent standard electrode potential, and the $\\omega_j$ is an unitless parameter that describes the level of disorder of the reaction represented by gallery $j$. \n",
"\n",
"The equation for each reaction can be inverted to give \n",
"$$x_j = \\frac{X_j}{1+\\exp[f(U-U_j^0)/\\omega_j]}.$$\n",
Expand Down Expand Up @@ -539,7 +539,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "dev",
"display_name": "venv",
"language": "python",
"name": "python3"
},
Expand All @@ -553,11 +553,11 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.16"
"version": "3.11.6"
},
"vscode": {
"interpreter": {
"hash": "bca2b99bfac80e18288b793d52fa0653ab9b5fe5d22e7b211c44eb982a41c00c"
"hash": "9ff3d0c7e37de5f5aa47f4f719e4c84fc6cba7b39c571a05173422444e82fa58"
}
}
},
Expand Down

0 comments on commit fadf094

Please sign in to comment.