The LU decomposition approach

Part 7, Sequential Gaussian simulation

Learning objectives

  • Draw a Gaussian field exactly by the Cholesky factor of its covariance matrix, and say why every draw has that covariance
  • Condition the draws to wells by factoring the wells and the points together, and read the covariance left once the wells are known
  • Say how many draws an estimate of the covariance or the spread needs
  • Say why the factor serves a line or a small grid and not a whole field

An Exact Draw

For a few dozen points a Gaussian field can be drawn exactly. Factor the points' covariance matrix as 𝐂=π‹π‹βŠ€\mathbf C = \mathbf L\mathbf L^{\top}, the Cholesky factorisation (the symmetric form of the LU decomposition), and multiply the lower triangular factor by a vector of independent standard normals: 𝐲=𝐋𝐳\mathbf y = \mathbf L\mathbf z has the covariance 𝐂\mathbf C, and every new 𝐳\mathbf z is a new realisation. On a line down the dip of the Ogbon field's main sand, 41 points 106 ft apart, a thousand draws meet their matrix to 0.0107 p.u.Β² RMS. Factored together with the nine wells, the draws pass through each of them. The factor costs about n3/3n^3/3 multiplications: a line is cheap, a whole field is not.

Lu Simulation On A TransectInteractive figure, enable JavaScript to interact.

The Line and the Model

The line runs through Ogbon-1 down the dip toward 120 degrees, from the nearest point to the sealing fault, 1267 ft up the dip, to the grid's edge, 2957 ft down it, with Ogbon-1 one of its points; Ogbon-2 lies 28 ft off it and Ogbon-8 175 ft. The covariance is the truth's own model, the field's lateral model's (the book's own): spherical, 2000 ft along the dip and 1000 ft across, no nugget, its sill the variance of the main sand's porosity in Ogbon-1's log, 0.3412 p.u.Β² (a p.u. is a percentage point of porosity), about the log's mean of 26.01 p.u. in porosity. Along the dip the points are close against the range, so neighbouring points are strongly correlated and the matrix is far from the identity; its factor is still well defined, because the spherical model is positive definite.

Why the Draws Have the Covariance

With independent standard normals, E[𝐳𝐳⊀]=𝐈E[\mathbf z\mathbf z^{\top}] = \mathbf I, so

E[𝐲𝐲⊀]=𝐋 E[𝐳𝐳⊀]β€‰π‹βŠ€=π‹π‹βŠ€=𝐂.E[\mathbf y\mathbf y^{\top}] = \mathbf L\,E[\mathbf z\mathbf z^{\top}]\,\mathbf L^{\top} = \mathbf L\mathbf L^{\top} = \mathbf C.

Every draw has exactly this covariance; a set of draws only estimates it. A hundred draws meet the matrix to 0.0463 p.u.Β² RMS over its 1681 entries, a thousand to 0.0107 p.u.Β², ten to 0.0796 p.u.Β²: the error of an estimate from draws falls about as one over the square root of their number. Ten draws vary along the line by 0.3097 p.u.Β² on average where each has the variance 0.3412 p.u.Β². A handful of realisations is a poor estimate of the spread they are drawn with.

Tying the Draws to the Wells

To honour the wells 𝐯\mathbf v, factor the wells and the points together, the wells first:

𝐂=(𝐂11𝐂12𝐂21𝐂22)=(𝐋11πŸŽπ‹21𝐋22)(𝐋11βŠ€π‹21βŠ€πŸŽπ‹22⊀),𝐲=𝐋21𝐋11βˆ’1𝐯+𝐋22𝐳.\mathbf C = \begin{pmatrix} \mathbf C_{11} & \mathbf C_{12} \\ \mathbf C_{21} & \mathbf C_{22} \end{pmatrix} = \begin{pmatrix} \mathbf L_{11} & \mathbf 0 \\ \mathbf L_{21} & \mathbf L_{22} \end{pmatrix}\begin{pmatrix} \mathbf L_{11}^{\top} & \mathbf L_{21}^{\top} \\ \mathbf 0 & \mathbf L_{22}^{\top} \end{pmatrix}, \qquad \mathbf y = \mathbf L_{21}\mathbf L_{11}^{-1}\mathbf v + \mathbf L_{22}\mathbf z.

The first term is the simple kriging of the wells, 𝐂21𝐂11βˆ’1𝐯\mathbf C_{21}\mathbf C_{11}^{-1}\mathbf v, the same in every draw; the second adds a draw from the covariance left once the wells are known, 𝐋22𝐋22⊀=𝐂22βˆ’π‚21𝐂11βˆ’1𝐂12\mathbf L_{22}\mathbf L_{22}^{\top} = \mathbf C_{22} - \mathbf C_{21}\mathbf C_{11}^{-1}\mathbf C_{12}, whose diagonal is the kriging variance. At Ogbon-1, a point of the line, nothing is left and every draw passes through the well. Along the line the variance left averages 0.1750 p.u.Β², about half the sill; it is largest at the grid's edge, 0.3265 p.u.Β², farthest from every well. Davis proved that this partition of the covariance matrix gives a conditional realisation, as GΓ³mez-HernΓ‘ndez and Srivastava (2021) recount; Davis's paper was not read for this section.

What It Costs

The factor of an nn by nn matrix takes about n3/3n^3/3 multiplications and n2n^2 numbers of memory. For the line's 41 points that is 22974 multiplications. For the field's 625 columns it would be 81380208, which a phone could still do; for a three-dimensional model of a million cells it would be about 3Γ—10173 \times 10^{17}, and the matrix alone would hold a million million numbers. Exact simulation by the factor is the tool for lines, small grids and checks; a field needs a method whose cost grows with the number of cells, not its cube. Wang (2008) lists the same Cholesky factor, drawn with independent standard normal numbers, among the methods too expensive for large grids.

What Comes Next

Section 7.3 simulates the whole field one column at a time: sequential Gaussian simulation, a small kriging at every node from its nearest neighbours.

References

  • GΓ³mez-HernΓ‘ndez, J. J. and Srivastava, R. M. (2021). One step at a time: the origins of sequential simulation and beyond. Mathematical Geosciences, 53(2), 193-209. doi:10.1007/s11004-021-09926-0.
  • Wang, T. (2008). Progress towards fast block LU simulation on large grids. Centre for Computational Geostatistics, University of Alberta, Annual Report 10, Paper 309.

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.