QSD-Group / QSDsan

Quantitative Sustainable Design (QSD) of sanitation and resource recovery systems.
https://qsdsan.com
Other
30 stars 12 forks source link

Make a qsdsan-compatible `HXN` class #85

Closed yalinli2 closed 1 year ago

yalinli2 commented 1 year ago

Inherit from biosteam's HXN

yalinli2 commented 1 year ago

@jiananf2, it's done in 33c48db591420924b5a73fa913cd7636f19b2f62, its doc has a simple example, but note that you'll need to use Stream (instead of WasteStream or SanStream) for the ins/outs with it

For you system, I think you can use Stream throughout (i.e., set init_with='Stream'), since you won't be using any of the properties specific to WasteStream, but I also plan to add functions to convert between these different stream types, see #86