-
Notifications
You must be signed in to change notification settings - Fork 117
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
Thermodynamic data missing for Fe2O3 chemical #5
Comments
Hello Alex, Thank you for finding this bug. For a chemical instance to be created, the structure and a valid CAS number need to have been recorded in PubChem in April 2014, when the database was created by obtaining all chemicals with valid CAS numbers associated. PubChem does include Fe2O3, but a CAS number was not available as a synonym, nor is it today. https://pubchem.ncbi.nlm.nih.gov/compound/518696 This is a frustrating and persistent problem with using CAS numbers as chemical identifiers. CAS does not publicly associate CAS numbers with chemical structures, and what they do have, CommonChemistry.org, only has pictures of structures. I have been working on a next-generation database for some time, which will draw chemical metadata from Wikipedia, CommonChemistry, PubChem, CHEBL, and NIST's wekbook. Fe2O3 is currently included in the new database, but there are too many instances where lookups will get worse right now for me to deploy it. I have been working on it for two months so far. Perhaps more importantly, the new database will support an override file, where I can make changes to the database manually whenever errors are spotted! Sincerely, |
Hello Caleb Thank you for your help. I am enjoying it a lot work with 'thermo' for its wide range of chemical compounds and amount of functions it provides for each chemical compound. Now that you meant you are working on the next-generation database, which includes NIST's webbook, a database that I used before. This makes me so excited to what the future of 'thermo' will behold. I don't what to sound like I am rushing to finish the new database, but when will 'thermo' be updated to the new database, because I am using Fe2O3 a lot in my calculations. If you are uncertain at this point, it is completely understandable, because it sounds like an insane lot of work to create the new database. Sincerely yours |
Hello Alex, I am glad you are finding useful pieces in and among the library. I intend to do a much more thorough job with the chemical metadata database this time, and for that reason it could be a while. In the mean time, one idea I've been thinking about would be to allow the user to specify some details about a chemical, according to the following syntax:
This syntax could be added pretty quickly. There are two properties the library has already, even if the chemical isn't in the database: melting point and constant solid heat capacity. The metadata project I'm talking about will be separate from a project which incorporates, say, Solid Phase Heat Capacity from NIST's webbook. That project will actually be easier. What are your thoughts? What properties are you using, and how? Sincerely, |
Hello Caleb I like the idea of a seperated project to process the metadata of chemicals in to a new database. The syntax you mentioned to allow users to add data as they require. Until the final mega database are released the syntax will get very handy, thank you for providing it. Okay, I am using most of time the thermodynamics properties of chemical like gibbs free energy, delta enthalpy to calculate energy required for my reactor vessel and water heat capacity of evaporation function, what a brilliant function I must say. I am currently using the Another thing that was kind of strange to me was that I couldn't find the gibbs free energy calculations function in Thanks you for thermo it's a real joy to use. Sincerely your |
Hello Alex, The new syntax is available in the new version released to pypi, although it is not documented yet. I need to redo the introduction documenting Chemical. calc_H is indeed an internal function. The method which sets thermodynamic properties for a chemical is set_thermo. The method I'm advertising to obtain enthalpy/internal energy/entropy/Gibbs energy are as follows:
Different fields use different reference states for thermodynamic properties though. It's the same for phase equilibria. I tried to make it Chemical really flexible supporting different reference states, but in the end I'm going to have to introduce the concept of "property package" so people interested in metallurgy don't get enthalpies from equations of state. The same methods as are available now will still be supported but the calculation may be different. One thing that's not going to change is the following syntax (molar values returned):
Those are what are used to do the calculation plus a bunch of equation of state stuff but I don't think you need that. You can use those methods to computer your own enthalpies and entropies and Gibbs energies. |
Hello Caleb Thank you for incorporating the new syntax into I am over exited that you are going to introduce the concept of "property package", because as you maybe notice I am a metallurgical engineering student and adding "property package" functionality will make Apologies for closing the issue, I think that also broke our communication stream. I will then keep this issue open until you close it. Sincerely yours |
Hi, hematite = {'CASRN': '1309-37-1', 'name': 'hematite', 'MW': 159.688, 'formula': 'Fe2O3'} and assuming is a liquid would it be possible to make a mixture using it? the mixture class does not seem to have a way to pass the chemical object so it only has access to the object in the database. I'm interested in getting the viscosity of the mixture so my question is also what property should the chemical have to enable the mixture viscosity estimation? thanks for this very useful library |
Hi Marco, It sounds like it would be simpler to use the methods in thermo.viscosity directly without the mixture interface. If you know the pure component viscosities, I recommend Brokaw method for gases, and simply use logarithmic mixing function mixing_logarithmic for liquids. If you do not know the pure component viscosities, I believe the liquid methods for estimating them are too poor to recommend for industrial use; for gases, the Gharagheizi_gas_viscosity method should be appropriate. Cheers, |
I am trying to use Fe2O3 in some of my thermodynamic calculations using 'thermo.chemical', but was unable to call it from the chemical database. I have used both methods shown below:
Method 1 returned the following error:
Method 2 returned a "none" for every property I tried.
Please, will you help me?
The text was updated successfully, but these errors were encountered: