thermopy icon indicating copy to clipboard operation
thermopy copied to clipboard

nasa9polynomials fails for some species

Open Nicholaswogan opened this issue 4 years ago • 0 comments

For some species calculating gibbs energies with the nasa9 database doesn't work. For example:

from thermopy import nasa9polynomials as nasa9
db = nasa9.Database()
sp = db.set_compound('OH')
sp.gibbs_energy(298)

produces an "out of bounds" error, because there are 10 coefficients in the database, and the function expects 9 coefficients

Nicholaswogan avatar Feb 04 '21 02:02 Nicholaswogan