-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add method to ED1d for calculating membrane resistance as a function of ion concentration #1522
Conversation
watertap/flowsheets/electrodialysis/electrodialysis_1stack_conc_recirc_ui.py
Outdated
Show resolved
Hide resolved
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.
Which references talks about the membrane resistance as a function of ion concentration? I quickly glanced through a few and didn't find one that talks about this function.
I was recommended the Galama paper for it (https://doi.org/10.1016/j.memsci.2014.05.046)
Also, this is an empirical relationship (is that correct?). Maybe make a note of that.
Everything else looks good.
@lbibl Can you clarify on the meaning of the |
Added notes in doc: "We used a coefficient multiplied by the solution conductance, denoted by :math:\sigma, to account for the spacer's conductance shadowing effect." There are cases where the shadowing effect is treated as a coefficient to resistance rather than conductance. This would be a clearer naming with the added notation. |
Updates on references underway. |
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.
Only minor comments that should be considered before merging.
watertap/flowsheets/electrodialysis/electrodialysis_1stack_conc_recirc_ui.py
Outdated
Show resolved
Hide resolved
@hunterbarber changing "Watt" to"W" is causing several test failing because that string was used as keys in many tests consistently. I consider this change very trivial and not worthy of the time to go through so I am dismissing it. If you insist, please feel free to open another PR for changes. |
This string has already been changed in this PR though, meaning the repetitive checks for it were already revised once. I don't think it should hold up this being merged, but if the typo and consistency change from "consumption(Watt)" to "consumption (W)" doesn't happen in this PR, I bet it won't ever get corrected. |
No it's not changed now. I had to push it back. are you referring "Watt" as a typo but it is not? |
Looking at the code difference, it looks like the addition of units into the print strings within the var dictionary was a change in this PR. The lack of a space in the spring being the typo, and using Watt here and kW, h, m, etc. elsewhere as the inconsistency. |
…of ion concentration (#1522) * add new methods for resistance calc * update doc to reflect the changes * format * changes on the ui.py and format of rst * format * debug macos err * format * debug err in macos x86 * debug err in macos x86 * debug err in macos x86 * debug err in macos x86 * typos, single-pass ed flowsheet refined for stability across os * notations on doc, citation updates * format * rename a var in rst * rename var; typo corr * blk (cherry picked from commit 3d2c4a0)
Fixes/Resolves:
(replace this with the issue # fixed or resolved, if no issue exists then a brief statement of what this PR does)
Summary/Motivation:
Changes proposed in this PR:
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: