Skip to content
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

Questions for BSM2 module #44

Open
yalinli2 opened this issue Nov 12, 2023 · 8 comments
Open

Questions for BSM2 module #44

yalinli2 opened this issue Nov 12, 2023 · 8 comments

Comments

@yalinli2
Copy link
Member

Documenting questions related to implementing the BSM2 configuration in EXPOsan: https://github.com/QSD-Group/EXPOsan/tree/bsm2/exposan/bsm2

Tables, etc. below refer to the BSM2 report if not otherwise noted: http://iwa-mia.org/wp-content/uploads/2022/09/TR3_BSM_TG_Tech_Report_no_3_BSM2_General_Description.pdf

@yalinli2
Copy link
Member Author

yalinli2 commented Nov 12, 2023

ADM/Anaerobic Digester

  • Need to figure out where all the parameters in Tables 5-8 are set for adm1/AnaerobicCSTR

@yalinli2
Copy link
Member Author

Primary Clarifier

  • Need to figure out where f_X and f_XS are set
  • Not sure why HRT is set, rather than V

@yalinli2
Copy link
Member Author

@joyxyz1994

Currently the ASM2ADM and ADM2ASM junctions work about right, still minor differences in some components but largely match the results.

After providing some initial conditions the system can miraculously run, but the results are awfully wrong...

@joyxyz1994
Copy link
Member

Would you be able to join the office hour today? If no one shows up, we can work on this together.

@joyxyz1994

Currently the ASM2ADM and ADM2ASM junctions work about right, still minor differences in some components but largely match the results.

After providing some initial conditions the system can miraculously run, but the results are awfully wrong...

@yalinli2
Copy link
Member Author

yep that's my plan, thanks & talk to you later!

Would you be able to join the office hour today? If no one shows up, we can work on this together.

@yalinli2
Copy link
Member Author

yalinli2 commented Apr 30, 2024

@joyxyz1994 I tried to run the test for the bsm2 module but it didn't pass... which branches of QSDsan/EXPOsan should I be using?

If you've gotten the results close enough to the matlab model, can you send in a PR to merge into main? Thanks!

@joyxyz1994
Copy link
Member

I used qsdsan@metro-bsm2 and exposan@bsm2. The maximum relative error I got was around 0.018. I didn't merge because I haven't checked the other sludge treatment units that Saumitra developed yet. Would you prefer we merge anyway?

@yalinli2
Copy link
Member Author

yalinli2 commented Apr 30, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants