QSD-Group / QSDsan

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

Question on StruvitePrecipitation #64

Closed yalinli2 closed 2 years ago

yalinli2 commented 2 years ago

Based on the code below, needed Mg is based on the amount of P in the influent, not the amount of P precipitated (otherwise should've used P_recovered). I think this assumption is OK, but just want to confirm https://github.com/QSD-Group/QSDsan/blob/e9fdbf1e6ed25685ce31093f5a58eced6c5eabc7/qsdsan/sanunits/_struvite_precipitation.py#L112

yalinli2 commented 2 years ago

Need price_ratio?

yalinli2 commented 2 years ago

Yes Mg dose is calculated based on the amount of P present in the waste, price_ratio will be dealt in #54