API#

The UML below shows the structure and core Python classes implemented in QSDsan. Each class is represented by a box containing the class name (bold, top part of the box) with select data (middle part of the box) and method (end with parentheses, bottom part of the box) attributes. The Component and WasteStream classes in blue are inherited from the Chemical and Stream classes in Thermosteam with the addition of wastewater-related attributes. The Process class in red enables dynamic simulation of Component objects’ transformation during kinetic processes (e.g., degradation of substrates). The SanUnit, System, TEA, and Model classes in yellow are inherited from BioSTEAM with added capacities for dynamic simulation and handling of construction inventories. Green boxes including mpactItem, ImpactIndicator, and LCA are implemented in QSDsan to enable LCA functionalities.

https://lucid.app/publicSegments/view/c8de361f-7292-47e3-8870-d6f668691728/image.png

Simplified unified modeling language (UML) diagram of QSDsan#