Skip to content

Fit to Wilhoit for H2 atom does not converge #128

Description

@shamelmerchant

I get this error when I try to compute the thermo for H2 atom in cantherm ....

Generating Wilhoit thermo model for H2...
c:\Python27\lib\site-packages\scipy\optimize\optimize.py:988: RuntimeWarning: in
valid value encountered in absolute
q = abs(q)
c:\Python27\lib\site-packages\scipy\optimize\optimize.py:993: RuntimeWarning: in
valid value encountered in absolute
if ( (abs(p) < abs(0.5_q_r)) and (p > q*(a-xf)) and \

The line where it is failing is
scipy.optimize.fminbound(self.__residual, 300.0, 3000.0, args=(Tdata, Cpdata, Cp0, CpInf, H298, S298))

Currently I dont know what is the best way to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions