Change search
ReferencesLink to record
Permanent link

Direct link
Symbolic Differentiation of Multivariable Functions to Arbitrary Order
Norwegian University of Science and Technology, Faculty of Natural Sciences and Technology, Department of Chemical Engineering.
2013 (English)MasteroppgaveStudent thesis
Abstract [en]

Thermodynamic properties, like pressure, volume and temperature can be calculated as partial derivatives of energy functions. Obtaining analytic partial derivatives can be tedious work. Computer algebra systems can be used instead. Taking the gradient of a multi-variable scalar function yields a vector, taking the gradient again yields a matrix, if higher order derivatives are desired, they would have to be organized in higher-dimensional algebraic structures. Support for these kinds of objects is limited in existing computer algebra systems. The concept of a multidimensional algebraic object (MDO) is introduced: An MDO may have any number of dimensions. A scalar having zero dimensions, a vector one dimension and a matrix two dimensions. A lightweight computer algebra system has been implemented in Ruby. It enables the construction of mathematical expressions using MDOs as variables. These expressions can be both evaluated as functions and differentiated to return new MDO expressions. The MDO code has been used to produce a phase diagram for a natural gas system modelled by the Redlich Kwong equation of state. To solve the implicit phase equilibrium equations, Newton's method was used: The objective function and Jacobian were evaluated as analytic functions derived by the MDO software - no numerical differentiation took place. The software provides explicit analytic derivatives to arbitrary order. Evaluation of high order derivatives, however, is time-consuming.

Place, publisher, year, edition, pages
Institutt for kjemisk prosessteknologi , 2013. , 137 p.
URN: urn:nbn:no:ntnu:diva-22229Local ID: ntnudaim:9941OAI: diva2:648684
Available from: 2013-09-16 Created: 2013-09-16 Last updated: 2013-09-16Bibliographically approved

Open Access in DiVA

fulltext(2322 kB)546 downloads
File information
File name FULLTEXT01.pdfFile size 2322 kBChecksum SHA-512
Type fulltextMimetype application/pdf
cover(184 kB)5 downloads
File information
File name COVER01.pdfFile size 184 kBChecksum SHA-512
Type coverMimetype application/pdf
attachment(892 kB)10 downloads
File information
File name ATTACHMENT01.zipFile size 892 kBChecksum SHA-512
Type attachmentMimetype application/zip

By organisation
Department of Chemical Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 546 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 30 hits
ReferencesLink to record
Permanent link

Direct link