Reactor

QSDsan: Quantitative Sustainable Design for sanitation and resource recovery systems

This module is developed by:

This module is under the University of Illinois/NCSA Open Source License. Please refer to https://github.com/QSD-Group/QSDsan/blob/main/LICENSE.txt for license details.

class qsdsan.unit_operations.static._reactor.Reactor(ID='', ins: Sequence[AbstractStream] | None = None, outs: Sequence[AbstractStream] | None = (), include_construction=True, *, P=101325, tau=0.5, V_wf=0.8, length_to_diameter=2, diameter=None, N=None, V=None, auxiliary=False, mixing_intensity=None, kW_per_m3=0.0985, wall_thickness_factor=1, vessel_material='Stainless steel 316', vessel_type='Vertical')

Create an abstract class for reactor unit, purchase cost of the reactor is based on volume calculated by residence time.

Parameters:
  • ins (Iterable(stream)) – Inlet.

  • outs (Iterable(stream)) – Outlet.

  • tau (float) – Residence time, [hr].

  • V_wf (float) – Fraction of working volume over total volume.

  • length_to_diameter (float) – Reactor length to diameter ratio.

  • N (int) – Number of reactor.

  • V (float) – Volume of reactor, [m3].

  • auxiliary (bool) – Whether or not the reactor is an auxiliary unit.

  • mixing_intensity (float) – Mechanical mixing intensity, [/s].

  • kW_per_m3 (float) – Power usage of agitator (converted from 0.5 hp/1000 gal as in [1]). If mixing_intensity is provided, this will be calculated based on the mixing_intensity and viscosity of the influent mixture as in [2]

  • wall_thickness_factor=1 (float) – A safety factor to scale up the calculated minimum wall thickness.

  • vessel_material (str, optional) – Vessel material. Default to ‘Stainless steel 316’.

  • vessel_type (str, optional) – Vessel type. Can only be ‘Horizontal’ or ‘Vertical’.

References

[1] Seider, W. D.; Lewin, D. R.; Seader, J. D.; Widagdo, S.; Gani, R.;

Ng, M. K. Cost Accounting and Capital Cost Estimation. In Product and Process Design Principles; Wiley, 2017; pp 470.

[2] Shoener et al. Energy Positive Domestic Wastewater Treatment:

The Roles of Anaerobic and Phototrophic Technologies. Environ. Sci.: Processes Impacts 2014, 16 (6), 1204–1222. https://doi.org/10.1039/C3EM00711A.

line: str = 'Reactor'

class-attribute Name denoting the type of Unit class. Defaults to the class name of the first child class

run()

Run mass and energy balance. This method also runs specifications user defined specifications unless it is being run within a specification (to avoid infinite loops).

See also

_run, specifications, add_specification, add_bounded_numerical_specification

property vessel_material

Vessel construction material.