Skip to content

Commit 70b1d8b

Browse files
committed
fix doc
1 parent 482bedc commit 70b1d8b

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

biosteam/units/equilibrium_reactor.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import biosteam as bst
99
from .abstract_stirred_tank_reactor import AbstractStirredTankReactor
1010
from .design_tools.Gibbs_equilibrium_reaction import minimize_Gibbs_free_energy
11+
from typing import Optional, Iterable
1112

1213
__all__ = (
1314
'EquilibriumReactor',
@@ -24,6 +25,10 @@ class EquilibriumReactor(AbstractStirredTankReactor):
2425
2526
Parameters
2627
----------
28+
phases:
29+
Phases of products. Defaults to the phases of inlets.
30+
products:
31+
Names of all products. Defaults to all possible chemicals.
2732
tau :
2833
Residence time [hr].
2934
T :
@@ -147,7 +152,11 @@ class EquilibriumReactor(AbstractStirredTankReactor):
147152
batch_default = False
148153
tau_phases_default = 'lg'
149154

150-
def _init(self, phases=None, products=None, **kwargs):
155+
def _init(self,
156+
phases: Optional[str]=None,
157+
products: Optional[Iterable[str]]=None,
158+
**kwargs
159+
):
151160
AbstractStirredTankReactor._init(self, **kwargs)
152161
self.phases = phases
153162
self.products = products

0 commit comments

Comments
 (0)