-
Notifications
You must be signed in to change notification settings - Fork 74
Add METAB Models and Integrate with BSM2 Flowsheet #1595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add METAB Models and Integrate with BSM2 Flowsheet #1595
Conversation
…plete the model evaluation.
# "https://github.com/watertap-org/watertap/" | ||
################################################################################# | ||
|
||
# Model example , which needs to run in QSD-San evironment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One instance of running qsdsan purely
|
||
# input space generation | ||
|
||
import csv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
take input data, run qsdsan simulation, export outputs
@@ -0,0 +1,116 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Demo-not complete yet
@@ -0,0 +1,21 @@ | |||
inf_fr,temp,hrt | |||
9.62,24.21,9.97 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after sampling
@lbianchi-lbl any guidance on whether adding |
The additional dependencies are needed to create (train) the surrogate models. An alternative to this could be to use a separate workflow to create the surrogate models and commit the serialized models to the WaterTAP codebase. |
Summary/Motivation:
This PR serves as the central hub for all models related to the METAB project. The goal of the project is to evaluate the performance of the Encapsulated Two-Stage Anaerobic Biological (METAB) system as part of a wastewater treatment plant. The original METAB model was developed in the QSD-San platform [1] and has been adapted for integration with the BSM flowsheet in WaterTAP.
To enable this integration, a surrogate modeling infrastructure was developed to interface with the external METAB model, generate samples, and train surrogate models. These surrogate models are used to predict key outputs required by the BSM flowsheet.
[1] Zhang, Xinyi, et al. "Prioritization of early-stage research and development of a hydrogel-encapsulated anaerobic technology for distributed treatment of high strength organic wastewater." Environmental Science & Technology 58.44 (2024): 19651-19665.
Changes proposed in this PR:
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: