Element To Mineral Conversion: Difference between revisions

From Met Dynamics
Jump to navigation Jump to search
(Migrate protected Model Theory content)
 
imported>Scott.Munro
m (Document current Met Dynamics Models behavior (W162))
 
Line 1: Line 1:
== Description ==
== Description ==


This article describes Whiten's (2007) method for converting elemental assays into mineral compositions.{{Whiten (2007)}}
This article describes a non-negative least-squares method for converting elemental assays into mineral compositions.


== Model theory ==
== Model theory ==
Line 48: Line 48:
   \mathit{mdMineralogy\_EMC}  & =   
   \mathit{mdMineralogy\_EMC}  & =   
\begin{bmatrix}
\begin{bmatrix}
m_1\text{ (frac)}\\
m_1\text{ (\% w/w)}\\
\vdots\\
\vdots\\
m_p\text{ (frac)}\\
m_p\text{ (\% w/w)}\\
\text{Residual}\\
\text{Residual}\\
\end{bmatrix}
\end{bmatrix}

Latest revision as of 05:23, 23 October 2026

Description

This article describes a non-negative least-squares method for converting elemental assays into mineral compositions.

Model theory

Nuvola apps important blue.svg.png This content is available to registered users. Please log in to view.

Excel

The Element to Mineral Conversion may be invoked from the Excel formula bar with the following function call:

=mdMineralogy_EMC(Assay as Range, C as Range, Optional returnResidual as Boolean = false)

Invoking the function with no arguments will print Help text associated with the model, including a link to this page.

The input parameters and calculation results are defined below in matrix notation, along with an example image showing the selection of the same cells and arrays in the Excel interface:

[math]\displaystyle{ \begin{align} \mathit{Assay} & = \begin{bmatrix} a_1\text{ (}%\text{ w/w)}\\ \vdots\\ a_n\text{ (}%\text{ w/w)}\\ \end{bmatrix}\\ \\ \mathit{C} & = \begin{bmatrix} c_{11}\text{ (w/w)} & \cdots & c_{1p}\text{ (w/w)}\\ \vdots & & \vdots\\ c_{n1}\text{ (w/w)} & \cdots & c_{np}\text{ (w/w)}\\ \end{bmatrix}\\ \\ \mathit{returnResidual} & = \big [ \text{(True/False)} \big ]\\ \end{align} }[/math]
[math]\displaystyle{ \begin{align} \mathit{mdMineralogy\_EMC} & = \begin{bmatrix} m_1\text{ (\% w/w)}\\ \vdots\\ m_p\text{ (\% w/w)}\\ \text{Residual}\\ \end{bmatrix} \end{align} }[/math]

where:

  • [math]\displaystyle{ n }[/math] is the number of assays (elements)
  • [math]\displaystyle{ p }[/math] is the number of minerals
  • [math]\displaystyle{ a }[/math] is elemental assays (% w/w)
  • [math]\displaystyle{ c }[/math] is the conversion ratio, the mass proportion of an element in a mineral (w/w)
  • [math]\displaystyle{ m }[/math] is the mineral composition (% w/w)
  • [math]\displaystyle{ Residual }[/math] is the residual of the least squares regression, only returned if [math]\displaystyle{ returnResidual=True }[/math]
Figure 1. Example showing the selection of the Assay (blue frame), C (red frame), and Results (light blue frame) arrays in Excel. [math]\displaystyle{ returnResidual=False }[/math] in thid example.

References