CalebBell / thermo

Thermodynamics and Phase Equilibrium component of Chemical Engineering Design Library (ChEDL)
MIT License
594 stars 114 forks source link

Error calculating Joule-Thomson coef for mixture class #50

Closed YifeiLu closed 4 years ago

YifeiLu commented 4 years ago

Hello everyone, I've attempted to use thermo to do some calculation on gas mixtures. And apparently it does work correctly for the Mixture.JT. Even if I type in the example code, it still returns None, e.g. Mixture(['water'], ws=[1]).JT Mixture(['dodecane'], ws=[1], T=400, P=1000).JTg.

tedhyu commented 4 years ago

Hi there: I just made a new pull request to address this issue. Hope it is helpful.

https://github.com/CalebBell/thermo/pull/51