Comments (5)
Hi Cinque,
I always hate to be the bearer of bad news, but just adding 'rs' and 'qs' for electrolytes is only part of the problem. They are used in the LIFAC model; and LIFAC adds quite a bit of complexity and other terms, requiring solute-solvent interactions as well as solute-solute and solvent-solvent interactions. It would not be straight forward to add to thermo; there is no electrolyte flash in thermo at the moment either, which would be required to determine eutectic points.
What systems are you evaluating? You may be able to find literature data. I think the predictive ability of electrolyte models is quite a bit less than plain UNIFAC as well.
Sincerely,
Caleb
from thermo.
HI Caleb,
Thanks for the reply. To be clear, I also added the interaction parameters (a_ij,a_ji,b_ij, c_ij) for the structural group interactions with the ions and cation-anion interactions. I think I can add the LR and MR components using the equations in the paper (assuming I can find the relevant constants for what I'm trying to explore).
Right now I'm looking at CaCl2 and MgCl2 mixtures from the solid phase to the liquid phase. When you talk about electrolyte models, are you referring to LIFAC (or LIFAC* in the paper) or other models in general?
Thanks again,
Cinque
from thermo.
Hi again Cinque,
I was indeed referring to LIFAC/LIFAC*. If you can find the constants, and figure out the equations for the activity coefficients, I can try to help you find the eutectic points. I guess you're talking about a system of just those two compounds? I'm not sure why I assumed an aqueous system.
Cheers,
Caleb
from thermo.
Yes, just those two compounds for now, but I may experiment with more. And I will avoid introducing any H or O into the system (in reality, i'd probably need to replace the atmosphere with Cl and use ceramics for containment).
I think I've calculated the approximate eutectic point from solid to liquid with the mix (where chemical potential of the pure + residual components are near zero for both at the same T), but it only considers the SR (since LIFAC uses the same SR as UNIFAC), and I naively was thinking that I wouldn't be too far off by excluding the MR and LR equations. If you think that adding the MR and LR equations could significantly change the results, then I'll work on writing the code going off of how things seem to be referenced in unifac.py and post it on a gist to see if it makes sense to you.
My only confusion that is blocking for me for now is that MR and LR terms require the ion components and the solvents to be computed differently, and since what I'm working on is with solids, should I only consider the ionic equations or will I need to consider both if the Tm of any of the individual solids has been hit (in which I may need to add a way to pass in the chemical compound objects so I can reference and set some of the data if needed in the calculations)?
from thermo.
I implemented the MR contribution with only considering the ion interactions, and I saw no real difference in the eutectic point with it, so I'll close this. Thank you for clearing up some things for me.
from thermo.
Related Issues (20)
- CoolProp vs thermo HOT 2
- Gas phase mixture enthalpy values decreasing with increased pressure HOT 3
- Data for CAS# 64742-48-9 (Petroleum Naptha) missing HOT 4
- Certain properties missing from nitrogen gas HOT 4
- Mixture diffusion coefficient HOT 1
- PT_surface_special fails for mixture PR78MIX due to missing Tc and Pc attributes HOT 1
- Example for P-T diagrams?
- Mercury density HOT 3
- air.lemmon2000_rho HOT 2
- ImportError: cannot import name 'horner' from 'chemicals.utils' HOT 2
- Proposal on lists/numpy array support
- Chemical serialize able HOT 3
- Issues for Zg calculation HOT 1
- SQLite Fail on threading HOT 4
- Stream generation for air - cas_id references different chemical and H_reactive is attempted to use in calculation, but is None HOT 2
- Thermo v. 0.2.26 flash_vl - Raising Exception on PH flash HOT 4
- Examples on Raoult's Law PT Flash
- Phase envelope fails for mixtures HOT 2
- HELP VaporPressure HOT 1
- Inconsistent "rhol_60Fs_mass" values for normal paraffins HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thermo.