-
Notifications
You must be signed in to change notification settings - Fork 59
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
base: main
Are you sure you want to change the base?
Conversation
watertap/flowsheets/electrodialysis/electrodialysis_1stack_conc_recirc_ui.py
Outdated
Show resolved
Hide resolved
self.membrane_set, | ||
initialize=2e-4, | ||
bounds=(1e-6, 1), | ||
units=pyunits.ohm * pyunits.meter**2, | ||
doc="Surface resistance of membrane", | ||
doc="Constant areal resistance of membrane at high electrolyte concentration", |
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.
'High electrolyte' confused me. I assumed it meant in Concentrate channel. This really means resistance at infinite concentration, right?
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.
yes. I hesitated about using the infinite word as it's not practically meaningful. but I'll make an update.
* sum( | ||
self.diluate.properties[t, x].conc_mol_phase_comp["Liq", j] | ||
* self.config.property_package.charge_comp[j] | ||
for j in self.cation_set |
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.
The whole system is electrically neutral but does the diluate stay electrically neutral at every 'x'?
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.
yes
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: