Code Monkey home page Code Monkey logo

Comments (3)

njw37 avatar njw37 commented on June 22, 2024

There was an error in the attached excel spreadsheet. The table has been updated. The bug remains the same.

from chemicals.

CalebBell avatar CalebBell commented on June 22, 2024

Hi njw37,
I switched the default model for calculating the density of gases in the Mixture and Chemical object to the ideal gas law. I decided to do that because people seem to expect there to always be a gas density available at any given temperature or pressure, even if the phase equilibrium says it's not stable.
For the other models - Helmholtz (CoolProp), virial, and cubic - in some {T, P} conditions each of them predict that no gas exists, and they can't return a gas solution.

See the following issues for discussion:

Neon density not evaluating #96 CalebBell/thermo#96
BUG: Potential regression for thermal conductivity in pure components in latest update #89 CalebBell/thermo#89
Molar volume calculations returning 'None' using 'Chemical' object with update to 0.2.10 #91 : CalebBell/thermo#91
Certain properties missing from nitrogen gas #129 : CalebBell/thermo#129

I encourage you to use the new flash interface - you can see the example for steam here: https://thermo.readthedocs.io/thermo.flash.html#thermo.flash.FlashPureVLS
It is designed so that the user picks the models used, allowing for results that which won't change in the same way. It is more performant, has more features, and is what I am developing on at this time. The IAPWS95Liquid and IAPWS95Gas phase should still be returning almost bit-for-bit results in the year 2100.
Trying to generally provide magic really good thermodynamic properties was too much in hindsight.

Sincerely,
Caleb

from chemicals.

njw37 avatar njw37 commented on June 22, 2024

Hi Caleb,

Thank you for your quick and thorough response. We are in the process of learning the thermo.Flash object and will try to make this our new standard (instead of thermo.Mixture). Thank you for making these great tools available.

BR,
Nick

from chemicals.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.