Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cantera/cantera
/ equil_OCV
Function
equil_OCV
samples/python/kinetics/sofc.py:64–66 ·
view source on GitHub ↗
(gas1, gas2)
Source
from the content-addressed store, hash-verified
62
63
64
def
equil_OCV(gas1, gas2):
65
return
(-ct.gas_constant * gas1.T *
66
math.log(gas1[
'O2'
].X[0] / gas2[
'O2'
].X[0]) / (4.0 * ct.faraday))
67
68
# %%
69
# Anode-side phases
Callers
1
sofc.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected