Application of Generalized (Hyper-) Dual Numbers in Equation of State Modeling
Keyword(s):
The calculation of derivatives is ubiquitous in science and engineering. In thermodynamics, in particular, state properties can be expressed as derivatives of thermodynamic potentials. The manual differentiation of complex models can be tedious and error-prone. In this work, we revisit dual and hyper-dual numbers for the calculation of exact derivatives and show generalizations to higher order derivatives and derivatives with respect to vector quantities. The methods described in this paper are accompanied by an open source Rust implementation with Python bindings. Applications of the generalized (hyper-) dual numbers are given in the context of equation of state modeling and the calculation of critical points.
2019 ◽
Vol 35
(06)
◽
pp. 2050017
◽
2017 ◽
Vol 21
(6)
◽
pp. 1820-1842
1999 ◽
Vol 61
(1)
◽
pp. 121-128
◽
2007 ◽
Vol 424
(1)
◽
pp. 240-281
◽
Keyword(s):