Application of Generalized (Hyper-) Dual Numbers in Equation of State Modeling
Application of Generalized (Hyper-) Dual Numbers in Equation of State Modeling
复制标题
广义(超)对偶数在状态方程建模中的应用
DOI:
--
复制
发表时间:
2021
影响因子:
--
通讯作者:
G. Bauer
中科院分区:
文献类型:
--
作者:
Philipp Rehner;G. Bauer
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.