Tank

QSDsan: Quantitative Sustainable Design for sanitation and resource recovery systems

This module is developed by:

Part of this module is based on the biosteam package: https://github.com/BioSTEAMDevelopmentGroup/biosteam

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.bst._tank.MixTank(ID='', ins: Sequence[AbstractStream] | None = None, outs: Sequence[AbstractStream] | None = (), thermo=None, *, vessel_type=None, tau=None, V_wf=None, vessel_material=None, kW_per_m3=0.0, init_with='WasteStream', F_BM_default=None, include_construction=True)

Similar to the biosteam.units.MixTank, but can be initialized with qsdsan.SanStream and qsdsan.WasteStream.

Note

For dynamic simulation, CSTR should be used.

line: str = 'Mix tank'

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

class qsdsan.unit_operations.bst._tank.StorageTank(ID='', ins: Sequence[AbstractStream] | None = None, outs: Sequence[AbstractStream] | None = (), thermo=None, vessel_type=None, tau=None, V_wf=None, vessel_material=None, kW_per_m3=0.0, init_with='WasteStream', F_BM_default=None, include_construction=True, length_to_diameter=2)

Similar to the biosteam.units.MixTank, but can calculate material usage.

line: str = 'Storage tank'

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

class qsdsan.unit_operations.bst._tank.Tank(ID='', ins: Sequence[AbstractStream] | None = None, outs: Sequence[AbstractStream] | None = (), thermo=None, *, vessel_type=None, tau=None, V_wf=None, vessel_material=None, kW_per_m3=0.0, init_with='WasteStream', F_BM_default=None, include_construction=True)

Similar to the biosteam.units.Tank, but can be initialized with qsdsan.SanStream and qsdsan.WasteStream.

line: str = 'Tank'

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