Skip to content

Commit ba14254

Browse files
committed
improved documentation of bioreactors and features
1 parent 9f7c3fe commit ba14254

17 files changed

Lines changed: 620 additions & 230 deletions

biosteam/facilities/systems.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def create_facilities(
126126
'bioreactor_cleaning_chemicals',
127127
Water=126, units='kg/hr'
128128
)
129-
CIP_package = bst.CIPpackage(
129+
CIP_package = bst.CIPpackage('-',
130130
ins=CIP,
131131
outs='bioreactor_cleaning_wastewater',
132132
**CIP_kwargs
@@ -141,10 +141,10 @@ def adjust_CIP(): CIP.imass['Water'] = feedstock.F_mass * CIP_package.CIP_over_f
141141
@ADP.add_specification(run=True)
142142
def adjust_plant_air(): plant_air.imass['N2'] = feedstock.F_mass * ADP.plant_air_over_feedstock
143143
if FWT:
144-
FT = bst.FireWaterTank(**FWT_kwargs)
145-
FT.fire_water_over_feedstock = 0.08 if fire_water_over_feedstock is None else fire_water_over_feedstock
146-
@FT.add_specification(run=True)
147-
def adjust_fire_water(): FT.fire_water_flow_rate = feedstock.F_mass * FT.fire_water_over_feedstock
144+
FWT = bst.FireWaterTank('-', **FWT_kwargs)
145+
FWT.fire_water_over_feedstock = 0.08 if fire_water_over_feedstock is None else fire_water_over_feedstock
146+
@FWT.add_specification(run=True)
147+
def adjust_fire_water(): FWT.fire_water_flow_rate = feedstock.F_mass * FWT.fire_water_over_feedstock
148148
if CHP:
149149
if 'autopopulate' not in CHP_kwargs:
150150
CHP_kwargs = CHP_kwargs.copy()

biosteam/units/__init__.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@
4545
from .auxiliary import *
4646
from .agitator import *
4747
from .nrel_bioreactor import *
48-
from .stirred_tank_reactor import *
48+
from .abstract_stirred_tank_reactor import *
4949
from .aerated_bioreactor import *
50+
from .anaerobic_bioreactor import *
5051
from .auxiliary_pressure_vessel import *
5152
from .fluidized_catalytic_cracking import *
5253
from .single_phase_reactor import *
@@ -66,8 +67,9 @@
6667
_balance,
6768
_screw_feeder,
6869
nrel_bioreactor,
69-
stirred_tank_reactor,
70+
abstract_stirred_tank_reactor,
7071
aerated_bioreactor,
72+
anaerobic_bioreactor,
7173
molecular_sieve,
7274
vacuum_system,
7375
adsorption,
@@ -112,7 +114,7 @@
112114
*_multi_effect_evaporator.__all__,
113115
*distillation.__all__,
114116
*tank.__all__,
115-
*stirred_tank_reactor.__all__,
117+
*abstract_stirred_tank_reactor.__all__,
116118
*_conveying_belt.__all__,
117119
*_vent_scrubber.__all__,
118120
*_vibrating_screen.__all__,
@@ -131,6 +133,7 @@
131133
*_carbon_capture.__all__,
132134
*drying.__all__,
133135
*aerated_bioreactor.__all__,
136+
*anaerobic_bioreactor.__all__,
134137
*nrel_bioreactor.__all__,
135138
*adsorption.__all__,
136139
*compressor.__all__,

0 commit comments

Comments
 (0)