From the preface: "In this book, I try to (..) give a reasonably self-contained introduction to the simulation of flow and transport in porous media that also discusses how to implement the models and algorithms in a robust and efficient manner. In the presentation, I have tried to let the discussion of models and numerical methods go hand-in-hand with numerical examples that come fully equipped with codes and data, so that you can rerun and reproduce the results by yourself and use them as a starting point for your own research and experiments. (...)

The book can alternatively be seen as a comprehensive user-guide to MRST. (..) This book tries to give an in-depth introduction to MRST and explain the two different programming paradigms you can find in the software. The book is up-to-date with respect to the latest development in data structures and syntax, both for the original procedural approaches that primarily focus on incompressible flow, as well as for the more recent object-oriented, automatic-differentiation (AD-OO) framework we developed to simulate compressible, multiphase flow."

The electronic version is freely available as Gold Open Acces, thanks to a generous grant from Equinor.

Scripts and functions necessary for most of the examples can be found in the "book" module of the official MRST release.

_{Citation: K.-A. Lie. An introduction to reservoir simulation using MATLAB/GNU Octave: User guide for the MATLAB Reservoir Simulation Toolbox (MRST). Cambridge University Press, 2019}