Coder Social home page Coder Social logo

HumidAir wrong calculations about iapws HOT 2 OPEN

JB-AM avatar JB-AM commented on September 28, 2024
HumidAir wrong calculations

from iapws.

Comments (2)

jjgomera avatar jjgomera commented on September 28, 2024

Hi, i can't reproduce that

import iapws.humidAir as ha
a = ha.HumidAir(T=295, P=0.101325, W=0.00858)
print(a.RH)
0.597440017070571

and

a = ha.HumidAir(T=323, P=0.101325, W=0.0388)
print(a.RH)
0.5009937761563956

Maybe you're not using the last version, I'm fairly sure that error was fixed in this commit, 0a687f6

from iapws.

JB-AM avatar JB-AM commented on September 28, 2024

You’re right. I simply installed iapws from pip (pip install iapws), it seems the version there is not up to date. After installing from git, the value given seems reasonnable.
But why I get :

>>> import iapws.humidAir as ha
>>> a = ha.HumidAir(T=295, P=0.101325, W=0.00858)
>>> print(a.RH)
0.5282298396607987

While you get : 0.597440017070571 which seems rather high,
I do not know…

from iapws.

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.