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

Add method to ED1d for calculating membrane resistance as a function of ion concentration #1522

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

lbibl
Copy link
Contributor

@lbibl lbibl commented Nov 12, 2024

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:

  1. I agree my contributions are submitted under the license terms described in the LICENSE.txt file at the top level of this directory.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@lbibl lbibl changed the title Memb resis Add method to ED1d for calculating membrane resistance as a function of ion concentration Nov 12, 2024
@lbibl lbibl marked this pull request as ready for review November 13, 2024 18:24
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",
Copy link

@johnson12742 johnson12742 Nov 14, 2024

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?

Copy link
Contributor Author

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
Copy link

@johnson12742 johnson12742 Nov 14, 2024

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'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@ksbeattie ksbeattie added the Priority:Normal Normal Priority Issue or PR label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:Normal Normal Priority Issue or PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants