-
Notifications
You must be signed in to change notification settings - Fork 14
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
Merge updates in conventional wastewater configurations #103
Conversation
Simplified step 4 of ASM2d-ADM1 interface. Case II/III/IV, all need the same if else conditions. Also rectified an error message in Step 5(a).
X_S in ASM1 did not have N content, as it was taken care of by X_ND. However, in ASM2d X_S has non-zero N content, which we use as 'X_ND_asm1' in the code. Therefore, we no longer need the check (same with S_F). On the other hand N/P content in S_A now needs a check.
Since in step 5(b) soluble inert P is assumed to be 0, a check needs to be put in place. Other changes made with regard to documentation.
Modified the function which checks simultaneous balance of nutrients. In ASM1-ADM1 only COD, and TKN were checked. Now the simultaneous balanced of COD, TKN, and TP would be verified.
Deployed checks for N and P content in PAO across ASM2d and ADM1, since PAO is mapped directly. Similar checks were not deemed necessary for PHA, and PP.
Updated charge balance to include inorganic phosphorous on the ADM1 side.
Started modifying ADM1-ASM2d interface
Modified the function which checks simultaneous balance of nutrients. In ADM1-ASM1 only COD, and TKN were checked. Now the simultaneous balanced of COD, TKN, and TP would be verified. Also modified step 1(a) to update N balance
Changed step 2 to include P balance
Modified step 1(a) and 1(b) to include P balance.
Made several changes for ADM1-ASM2d interface to accommodate COD, TN, and TP balance.
Completed transitions and checks on ADM1-ASM2d interface. COD, TN, and TP balance holds.
Modified charge balance to accommodate ADM1 and ASM2d.
Corrected typo
Design of Primary clarifier
Added design function to secondary clarifier. For the same purpose, added new property 'height'.
Adding default F_BM and lifetime values for pump, and metals.
Added design_pump function for pumping of influents. Used it in the main design function. The edits may seem weird as they were made in another desktop and copied here.
Added cost of pump, and pumping.
Adding the new junction class mADM1toASM2d, which acts as an interface between modified ADM1 and ASM2d. A copy of this class exists in 'junction_copy'.
Adding the new junction class ASM2dtomADM1, which acts as an interface between ASM2d and modified ADM1. A copy of this class exists in 'junction_copy'.
Corrected typos
1. Updated design and cost functions of SC. 2. Added user-defined parameters for fixed design variables such as upflow_velocity, cylinderical_depth.
Updated design and cost function of thickener. Diameter is based on solid loading rate. Otherwise the design and cost is similar to that of clarifier.
Changed the order of import statements to use pump in clarifier. Co-Authored-By: Yalin <[email protected]>
Changed order of import statements to use pump in clarifier Co-Authored-By: Yalin <[email protected]>
Fixed typo (cylinderical to cylindrical). Made changes in design_pump() function of secondary clarifier.
Changed order of import statements to use pump in primary clarifier.
Changed design_pump() function to allow use of pump (based on discussion with Yalin). Changed typo (cylinderical to cylindrical).
minor changes for temperature correction
Soluble and particulate inert are now directly mapped.
Minor updates where I have added functions for uncertainty analysis for Gates
Made this change to debug an error related to dynamic pH calculation.
This reverts commit 2f84afd.
Adding separate categories for emission sources for uncertainty analysis.
@joyxyz1994 @RaiSaumitra I think the recent merge related to |
Hi Yalin, yes, the metro branch is now outdated. I am using the metro_dev
branch. Are you planning to delete metro?
Thanks,
Saumitra
…On Wed, Oct 16, 2024 at 10:23 AM Yalin ***@***.***> wrote:
@joyxyz1994 <https://github.com/joyxyz1994> @RaiSaumitra
<https://github.com/RaiSaumitra> I think the recent merge related to bsm2
pretty much included all the changes here? The metro branch of EXPOsan is
quite outdated now, I'm not sure if there's another repo for the systems
for the metro paper?
—
Reply to this email directly, view it on GitHub
<#103 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUJZKESHL5NYDUDJFYKOVZ3Z32AG3AVCNFSM6AAAAAA3G3KLDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGE3DANJZGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Oh if you are using metro_dev then I'll just remove metro, I don't think I've done anything particular with it... But I don't see metro_dev on GH, did you push it?
________________________________
From: RaiSaumitra ***@***.***>
Sent: Wednesday, October 16, 2024 11:26 AM
To: QSD-Group/QSDsan ***@***.***>
Cc: Yalin ***@***.***>; Author ***@***.***>
Subject: Re: [QSD-Group/QSDsan] Merge updates in conventional wastewater configurations (PR #103)
Hi Yalin, yes, the metro branch is now outdated. I am using the metro_dev
branch. Are you planning to delete metro?
Thanks,
Saumitra
On Wed, Oct 16, 2024 at 10:23 AM Yalin ***@***.***> wrote:
@joyxyz1994 <https://github.com/joyxyz1994> @RaiSaumitra
<https://github.com/RaiSaumitra> I think the recent merge related to bsm2
pretty much included all the changes here? The metro branch of EXPOsan is
quite outdated now, I'm not sure if there's another repo for the systems
for the metro paper?
—
Reply to this email directly, view it on GitHub
<#103 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUJZKESHL5NYDUDJFYKOVZ3Z32AG3AVCNFSM6AAAAAA3G3KLDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGE3DANJZGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
—
Reply to this email directly, view it on GitHub<#103 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALV5VLL7VQNNK76XEGGIGQLZ32AQRAVCNFSM6AAAAAA3G3KLDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGE3DQMRVHE>.
You are receiving this because you authored the thread.
|
Hi Yalin,
I'm sorry I got the name wrong. It is 'dev_metro'. I have pushed it so you
should see it.
Thanks,
Saumitra
…On Wed, Oct 16, 2024 at 10:31 AM Yalin ***@***.***> wrote:
Oh if you are using metro_dev then I'll just remove metro, I don't think
I've done anything particular with it... But I don't see metro_dev on GH,
did you push it?
________________________________
From: RaiSaumitra ***@***.***>
Sent: Wednesday, October 16, 2024 11:26 AM
To: QSD-Group/QSDsan ***@***.***>
Cc: Yalin ***@***.***>; Author ***@***.***>
Subject: Re: [QSD-Group/QSDsan] Merge updates in conventional wastewater
configurations (PR #103)
Hi Yalin, yes, the metro branch is now outdated. I am using the metro_dev
branch. Are you planning to delete metro?
Thanks,
Saumitra
On Wed, Oct 16, 2024 at 10:23 AM Yalin ***@***.***> wrote:
> @joyxyz1994 <https://github.com/joyxyz1994> @RaiSaumitra
> <https://github.com/RaiSaumitra> I think the recent merge related to
bsm2
> pretty much included all the changes here? The metro branch of EXPOsan
is
> quite outdated now, I'm not sure if there's another repo for the systems
> for the metro paper?
>
> —
> Reply to this email directly, view it on GitHub
> <#103 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AUJZKESHL5NYDUDJFYKOVZ3Z32AG3AVCNFSM6AAAAAA3G3KLDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGE3DANJZGE>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub<
#103 (comment)>, or
unsubscribe<
https://github.com/notifications/unsubscribe-auth/ALV5VLL7VQNNK76XEGGIGQLZ32AQRAVCNFSM6AAAAAA3G3KLDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGE3DQMRVHE>.
You are receiving this because you authored the thread.
—
Reply to this email directly, view it on GitHub
<#103 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUJZKESKTL6VFYZY4OK5LNDZ32BGFAVCNFSM6AAAAAA3G3KLDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGE4DKNRXHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Oh the branch is on QSDsan? I was talking about EXPOsan on the system configuration of the systems in metro. Can you do the following so we'll be more organized?
|
Hi Yalin,
I do not think I need anything from the metro branch on either QSDsan and
EXPOsan. And based on your suggestion, I have published a dev_metro branch
on EXPOsan as well. Let me know if you suggest any more edits.
Thanks,
Saumitra
…On Wed, Oct 16, 2024 at 10:46 AM Yalin ***@***.***> wrote:
Oh the branch is on QSDsan? I was talking about EXPOsan on the system
configuration of the systems in metro.
Can you do the following so we'll be more organized?
1. See if there's anything on the QSDsan metro branch that you'd like
to keep.
2. See if there's anything on the EXPOsan metro branch that you'd like
to keep.
3. Push the system configuration you are currently using to a new
EXPOsan branch, maybe dev_metro for consistency, thanks!
—
Reply to this email directly, view it on GitHub
<#103 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUJZKEVHURIQ3OQIRUXOERTZ32C5DAVCNFSM6AAAAAA3G3KLDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGIZDKMZWGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Oh cool! I'll archive/remove those branches then, I'll close this issue and wait till it's ready to be merged in, thanks! |
Branches archived/removed!
|
Thanks Yalin!
…On Wed, Oct 16, 2024 at 8:19 PM Yalin ***@***.***> wrote:
Branches archived/removed!
Oh cool! I'll archive/remove those branches then, I'll close this issue
and wait till it's ready to be merged in, thanks!
—
Reply to this email directly, view it on GitHub
<#103 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUJZKESTR4WBHYJVYFQHHV3Z34GC7AVCNFSM6AAAAAA3G3KLDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJYGI4TONBZGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@RaiSaumitra I'm making this a draft PR so we can discuss any needed updates, some of my changes could be style-related for easier understanding/improve in speed