We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ElectrodeReactor
1 parent 22ba6a4 commit aafaa6fCopy full SHA for aafaa6f
4 files changed
rmgpy/solver/__init__.py
@@ -31,4 +31,5 @@
31
from rmgpy.solver.simple import SimpleReactor
32
from rmgpy.solver.liquid import LiquidReactor
33
from rmgpy.solver.surface import SurfaceReactor
34
+from rmgpy.solver.electrode import ElectrodeReactor
35
from rmgpy.solver.mbSampled import MBSampledReactor
rmgpy/solver/base.pyx
@@ -213,6 +213,8 @@ cdef class ReactionSystem(DASx):
213
self.T = Quantity(conditions['T'], 'K')
214
if 'P' in keys and hasattr(self, 'P'):
215
self.P = Quantity(conditions['P'], 'Pa')
216
+ if 'potential' in keys and hasattr(self, 'potential'):
217
+ self.potential = Quantity(conditions['potential'], 'V')
218
for k in keys:
219
if is_conc:
220
if k in self.initial_concentrations.keys():
0 commit comments