Conversions: Difference between revisions
Scott Munro (talk | contribs) m (1 revision imported) |
md>Scott.Munro |
||
Line 33: | Line 33: | ||
* the value of <math>d_i</math> decreases as <math>i</math> increases, i.e. <math>d_{i}>d_{i+1}</math>, <math>d_1</math> = top size, <math>d_n = 0</math> | * the value of <math>d_i</math> decreases as <math>i</math> increases, i.e. <math>d_{i}>d_{i+1}</math>, <math>d_1</math> = top size, <math>d_n = 0</math> | ||
== Excel == | |||
=== Retained to cumulative passing === | |||
The retained to cumulative passing method may be invoked from the Excel formula bar with the following function calls: | |||
== | <syntaxhighlight lang="vb">=mdConvert_RetToCumPass(Retained as Range)</syntaxhighlight> | ||
{{Excel (Text, Help, No Arguments)}} | |||
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: | |||
== | {| | ||
|- style="vertical-align:top;" | |||
| | |||
{| | |||
|- style="vertical-align:top;" | |||
| | |||
:<math> | |||
\begin{align} | |||
\mathit{Retained} = | |||
\begin{bmatrix} | |||
p_1\\ | |||
\vdots\\ | |||
p_n\\ | |||
\end{bmatrix},\;\;\;\; | |||
\end{align}</math> | |||
|<math> | |||
\begin{align} | |||
\mathit{mdConvert\_RetToCumPass} & = | |||
\begin{bmatrix} | |||
P_1\\ | |||
\vdots\\ | |||
P_n\\ | |||
\end{bmatrix}\\ | |||
\end{align} | |||
</math> | |||
|- style="vertical-align:top;" | |||
|colspan="2"| | |||
where: | |||
* <math>n</math> is the number of data points | |||
* <math>p</math> is the quantity retained on size interval <math>i</math> (<math>1 \leq i \leq n</math>) | |||
* <math>P</math> is the cumulative quantity passing size interval <math>i</math> | |||
|} | |||
| | |||
::[[File:Conversions1.png|frame|Figure 1. Example showing the selection of the '''Retained''' (blue frame) and '''Results''' (light blue frame) arrays in Excel.]] | |||
|} | |||
=== Cumulative passing to retained === | |||
The | The cumulative passing to retained method may be invoked from the Excel formula bar with the following function calls: | ||
<syntaxhighlight lang="vb">=mdConvert_CumPassToRet(CumPassing as Range)</syntaxhighlight> | <syntaxhighlight lang="vb">=mdConvert_CumPassToRet(CumPassing as Range)</syntaxhighlight> | ||
{{Excel (Text, Help, No Arguments)}} | |||
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: | |||
{| | |||
|- style="vertical-align:top;" | |||
| | |||
{| | |||
|- style="vertical-align:top;" | |||
| | |||
:<math> | |||
\begin{align} | |||
\mathit{CumPassing} = | |||
\begin{bmatrix} | |||
P_1\\ | |||
\vdots\\ | |||
P_n\\ | |||
\end{bmatrix},\;\;\;\; | |||
\end{align}</math> | |||
|<math> | |||
\begin{align} | |||
\mathit{mdConvert\_CumPassToRet} & = | |||
\begin{bmatrix} | |||
p_1\\ | |||
\vdots\\ | |||
p_n\\ | |||
\end{bmatrix}\\ | |||
\end{align} | |||
</math> | |||
|- style="vertical-align:top;" | |||
|colspan="2"| | |||
where: | |||
* <math>n</math> is the number of data points | |||
* <math>p</math> is the quantity retained on size interval <math>i</math> (<math>1 \leq i \leq n</math>) | |||
* <math>P</math> is the cumulative quantity passing size interval <math>i</math> | |||
|} | |||
| | |||
::[[File:Conversions2.png|frame|Figure 2. Example showing the selection of the '''CumPassing''' (blue frame) and '''Results''' (light blue frame) arrays in Excel.]] | |||
|} | |||
=== Convert between meshes === | |||
The convert between meshes method may be invoked from the Excel formula bar with the following function calls: | |||
<syntaxhighlight lang="vb">=mdConvert_ToMesh(Size1 as Range, Dist1 as Range, Size2 as Range, Optional axesScale as Integer = 0, Optional interpMethod as Integer = 0)</syntaxhighlight> | <syntaxhighlight lang="vb">=mdConvert_ToMesh(Size1 as Range, Dist1 as Range, Size2 as Range, Optional axesScale as Integer = 0, Optional interpMethod as Integer = 0)</syntaxhighlight> | ||
{{Excel (Text, Help, No Arguments)}} | |||
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: | |||
{| | |||
|- style="vertical-align:top;" | |||
| | |||
{| | |||
|- style="vertical-align:top;" | |||
| | |||
:<math> | |||
\begin{align} | |||
\mathit{Size1} & = | |||
\begin{bmatrix} | |||
d_1\text{ (mm)}\\ | |||
\vdots\\ | |||
d_n\text{ (mm)}\\ | |||
\end{bmatrix}\\ | |||
\\ | |||
\mathit{Dist1} & = | |||
\begin{bmatrix} | |||
p_1\\ | |||
\vdots\\ | |||
p_n\\ | |||
\end{bmatrix}\\ | |||
\\ | |||
\mathit{Size2} & = | |||
\begin{bmatrix} | |||
d_1\text{ (mm)}\\ | |||
\vdots\\ | |||
d_m\text{ (mm)}\\ | |||
\end{bmatrix}\\ | |||
\\ | |||
\mathit{axesScale} & = \big [ \text{(0, 1 or 2)} \big ]\\ | |||
\\ | |||
\mathit{interpMethod} & = \big [ \text{(0 or 1)} \big ]\\ | |||
\end{align} | |||
</math> | |||
| | |||
::<math> | |||
\begin{align} | |||
\mathit{mdConvert\_ToMesh} & = | |||
\begin{bmatrix} | |||
p_1\\ | |||
\vdots\\ | |||
p_m\\ | |||
\end{bmatrix}\\ | |||
\end{align} | |||
</math> | |||
|- style="vertical-align:top;" | |||
|colspan="2"| | |||
where: | |||
* <math>n</math> is the number of data points in the first size distribution | |||
* <math>m</math> is the number of data points in the second size distribution | |||
* <math>d_i</math> is the size of the square mesh interval that feed mass is retained on (mm) | |||
* <math>d_{i+1}<d_i<d_{i-1}</math>, i.e. descending size order from top size (<math>d_{1}</math>) to sub mesh (<math>d_{n}=0</math> mm) | |||
* <math>p</math> is the quantity retained on a size interval | |||
* <math>\mathit{axesScale}</math> selects which scaling method to apply to the axes during interpolation: | |||
** 0 = linear (x) and linear (y) (default if omitted) | |||
** 1 = log (x) and linear (y) | |||
** 2 = log (x) and log (y) | |||
* <math>\mathit{interpMethod}</math> selects which interpolation method to apply to the distribution during conversion: | |||
** 0 = [[Interpolation|linear interpolation]] (default if omitted) | |||
** 1 = [[Interpolation|cubic spline interpolation]] | |||
|} | |||
| | |||
::[[File:Conversions3.png|frame|Figure 3. Example showing the selection of the '''Size1''' (blue frame), '''Dist1''' (red frame), '''Size2''' (purple frame) and '''Results''' (light blue frame) arrays in Excel.]] | |||
|} | |||
=== Geometric mean size === | |||
The geometric mean size method may be invoked from the Excel formula bar with the following function calls: | |||
<syntaxhighlight lang="vb">=mdConvert_ToGeoMeanSize(Size as Range)</syntaxhighlight> | <syntaxhighlight lang="vb">=mdConvert_ToGeoMeanSize(Size as Range)</syntaxhighlight> | ||
{{Excel (Text, Help, No Arguments)}} | |||
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: | |||
{| | |||
|- style="vertical-align:top;" | |||
| | |||
{| | |||
|- style="vertical-align:top;" | |||
| | |||
:<math> | |||
\begin{align} | |||
\mathit{Size} = | |||
\begin{bmatrix} | |||
d_1\text{ (mm)}\\ | |||
\vdots\\ | |||
d_n\text{ (mm)}\\ | |||
\end{bmatrix} | |||
\end{align}</math> | |||
| | |||
::<math> | |||
\begin{align} | |||
\mathit{mdConvert\_ToGeoMeanSize} & = | |||
\begin{bmatrix} | |||
\bar d_1\\ | |||
\vdots\\ | |||
\bar d_n\\ | |||
\end{bmatrix} | |||
\end{align} | |||
</math> | |||
|- style="vertical-align:top;" | |||
|colspan="2"| | |||
* <math>n</math> is the number of data points in the first size distribution | |||
* <math>d_i</math> is the size of the square mesh interval that feed mass is retained on (mm) | |||
* <math>d_{i+1}<d_i<d_{i-1}</math>, i.e. descending size order from top size (<math>d_{1}</math>) to sub mesh (<math>d_{n}=0</math> mm) | |||
* <math>\bar{d}_i</math> is the [[Conversions|geometric mean size]] of the internal mesh series interval that mass is retained on (mm) | |||
|} | |||
| | |||
::[[File:Conversions4.png|frame|Figure 4. Example showing the selection of the '''Size''' (blue frame) and '''Results''' (light blue frame) arrays in Excel.]] | |||
|} | |||
=== Slurry volume flow to mass flow === | |||
The slurry volume flow to mass flow method may be invoked from the Excel formula bar with the following function calls: | |||
<syntaxhighlight lang="vb">=mdConvert_QvToQm(Qv as Double, wtFracSolids as Double, solidsSG as Double, Optional liquidsSG as Double = 1)</syntaxhighlight> | <syntaxhighlight lang="vb">=mdConvert_QvToQm(Qv as Double, wtFracSolids as Double, solidsSG as Double, Optional liquidsSG as Double = 1)</syntaxhighlight> | ||
{{Excel (Text, Help, No Arguments)}} | {{Excel (Text, Help, No Arguments)}} | ||
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: | |||
{| | |||
|- style="vertical-align:top;" | |||
| | |||
{| | |||
|- style="vertical-align:top;" | |||
| | |||
:<math> | |||
\begin{align} | |||
\mathit{Qv} & = \big [ Q_{\rm V}\text{ (m}^3\text{/h)} \big ]\\ | |||
\\ | |||
\mathit{wtFracSolids} & = \big [ C_{\rm W}\text{ (w/w)} \big ]\\ | |||
\\ | |||
\mathit{solidsSG} & = \big [ \rho_{\rm S}\text{ (t/m}^3\text{)} \big ]\\ | |||
\\ | |||
\mathit{liquidsSG} & = \big [ \rho_{\rm L}\text{ (t/m}^3\text{)} \big ]\\ | |||
\end{align} | |||
</math> | |||
| | |||
::<math> | |||
\begin{align} | |||
\mathit{mdConvert\_QvToQm} & = | |||
\begin{bmatrix} | |||
(Q_{\rm M})_{\rm S}\\ | |||
(Q_{\rm M})_{\rm L}\\ | |||
\end{bmatrix}\\ | |||
\end{align} | |||
</math> | |||
|- style="vertical-align:top;" | |||
|colspan="2"| | |||
where: | |||
* <math>Q_{\rm V}</math> is the volumetric flow rate of slurry (m<sup>3</sup>/h) | |||
* <math>C_{\rm W}</math> is the mass fraction of solids in the slurry (w/w) | |||
* <math>\rho_{\rm S}</math> is the density of solids (t/m<sup>3</sup>) | |||
* <math>\rho_{\rm L}</math> is the density of liquids (t/m<sup>3</sup>), default is 1.0 t/m<sup>3</sup> if omitted | |||
* <math>(Q_{\rm M})_{\rm S}</math> is the mass flow rate of solids in the slurry (t/h) | |||
* <math>(Q_{\rm M})_{\rm L}</math> is the mass flow rate of liquids in the slurry (t/h) | |||
|} | |||
| | |||
::[[File:Conversions5.png|frame|Figure 5. Example showing the selection of the '''Qv''' (shaded blue frame), '''wtFracSolids''' (shaded red frame), '''solidsSG''' (shaded purple frame), '''liquidsSG''' (shaded green frame), and '''Results''' (light blue frame) arrays in Excel.]] | |||
|} | |||
== References == | == References == | ||
[[Category:Excel]] | [[Category:Excel]] |
Revision as of 05:42, 18 May 2023
Description
This article describes methods for converting:
- Weight fraction retained to cumulative fraction passing particle size distributions
- Cumulative fraction passing to weight fraction retained particle size distributions
- Particle size distributions between different mesh series
- Particle size distribution mesh interval sizes to geometric mean sizes
- Volumetric flow rates of slurry to mass flow rates of solids and liquids
Model theory
This section is currently under construction. Please check back later for updates and revisions. |
Geometric mean size
The geometric mean size of a particle, (mm), is defined as:
where:
- is the index of the size interval,
- is the number of size intervals
- is the diameter of particles retained in a mesh at size interval (mm)
- the value of decreases as increases, i.e. , = top size,
Excel
Retained to cumulative passing
The retained to cumulative passing method may be invoked from the Excel formula bar with the following function calls:
=mdConvert_RetToCumPass(Retained as Range)
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:
|
|
Cumulative passing to retained
The cumulative passing to retained method may be invoked from the Excel formula bar with the following function calls:
=mdConvert_CumPassToRet(CumPassing as Range)
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:
|
|
Convert between meshes
The convert between meshes method may be invoked from the Excel formula bar with the following function calls:
=mdConvert_ToMesh(Size1 as Range, Dist1 as Range, Size2 as Range, Optional axesScale as Integer = 0, Optional interpMethod as Integer = 0)
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:
|
|
Geometric mean size
The geometric mean size method may be invoked from the Excel formula bar with the following function calls:
=mdConvert_ToGeoMeanSize(Size as Range)
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:
|
|
Slurry volume flow to mass flow
The slurry volume flow to mass flow method may be invoked from the Excel formula bar with the following function calls:
=mdConvert_QvToQm(Qv as Double, wtFracSolids as Double, solidsSG as Double, Optional liquidsSG as Double = 1)
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:
|
|