CalebBell / thermo

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

Neon density not evaluating #96

Closed DanAtSuez closed 2 years ago

DanAtSuez commented 2 years ago

The following code returns no result:

`from thermo import from thermo.units import neon = Chemical('Neon', P=40*u.psi, T=u.Quantity('100 degF'))

neon.rho`

For any other chemical, this seems to work. Is there data missing on Neon, specifically?

DanAtSuez commented 2 years ago

Using a comment from another (closed) issue, I tried changing the gas molar volume method (Vmg) to 'TSONOPOLOUS_EXTENDED' and this generates rho. What would be the reason that the EOS Vmg method fails currently on Neon at ~standard conditions?

CalebBell commented 2 years ago

Hi Dan, This behavior is no longer happening, so I am closing the issue. I honestly don't know when the fix made it in or what was it, but I have added a test for this set of inputs so I will know if this happens again! Sincerely, Caleb