View on GitHub

SGS

Sequential Gaussian Simulation for generating Gaussian fields.

Sequential Gaussian Simulation

DOI

Have you ever wanted to generate a Gaussian field? This MATLAB script let you to easily create multiple conditional or unconditional 2D realizations of a Gaussian model of your choice.

Where to start?

The LiveScript script_SGS.m gives a nice overview of the different implementation of SGS available in this code.

Code is structure as follows. SGS.m is the main function, it explains the input and outpur format, it also check the input argument and redirect toward the appropriate implementation of SGS, as listed below:

This package provides different implementation of Sequential Gaussian Simulation, each tailored for another usage.

What is SGS?

SGS stands for Sequential Gaussian Simulation, as its name suggest, it is a simulation algorithm which generate MultiGaussian field in an iterative manner. Mathematically written, it’s purpuse is to create a realization equation from a random variable equation. The overall algo can be nicely summerized with:

equation

where equation is a standard Gaussian vector responsible to the randomness in the sampling of each value and equation are the kriging weights.

Which Simulation path to use for SGS?

My first study of SGS focused on better understanding the effect of the different simulation path, that is, the order in which the nodes are simulated. We also tried to provide some guideline on which path to avoir and which one to favor. In a nutshell, a simulation which maximizes the overall distance among the nodes during the simulation shows better performance than the one simulating consecutive nodes.

Oral Presentation

Nussbaumer, Raphaël, Grégoire Mariethoz, Erwan Gloaguen, and Klaus Holliger. (2016). Sequential Simulation Path Biases and how to live with them? Geostat2016. Valencia. DOI:10.13140/RG.2.2.28356.68486.

Peer-reviewed Publication

Nussbaumer, Raphaël, Grégoire Mariethoz, Erwan Gloaguen, and Klaus Holliger. (2017). Which Path to Choose in Sequential Gaussian Simulation. Mathematical Geosciences. 50(1), 97-120. DOI:10.1007/s11004-017-9699-5.

SGS with a Constant Path

In this second paper, I looked at a quite oftenly used technique which consist of using the same simulation path among multiple realizations. This is done in order to be able to reuse the same kriging weights for all realization, which in turn allows a quite drastic reduction of the computational cost. In this work we wanted to quantify the amount of bias added with this technique, and provide some recommendation on the implementation. We showed that these biases were quite unsignificant compared to the computational gain obtained. Have a look a the paper below for more detail. The script cst_path_paper/script_paper.m shows you how the figure were built.

Oral Presentation

Nussbaumer, Raphaël, Grégoire Mariethoz, Erwan Gloaguen, and Klaus Holliger. (2017). Constant path in SGS: Consequences and benefits. Spatial Statistics 2017. Lancaster. DOI:10.13140/RG.2.2.18290.35521.

Peer-reviewed Publication

Nussbaumer, Raphaël, Grégoire Mariethoz, Mathieu Gravey, Erwan Gloaguen, and Klaus Holliger. (2017). Accelerating Sequential Gaussian Simulation with a Constant Path. Computers & Geosciences. 112(2018),121-132. DOI:10.1016/j.cageo.2017.12.006.

Support or Contact

Having trouble with the code? Contact me.

Find the Project log on researchgate:

Image