MRST - MATLAB Reservoir Simulation Toolbox

The Matlab Reservoir Simulation Toolbox

The MATLAB Reservoir Simulation Toolbox (MRST) is developed by the Computational Geosciences group in the  Department of Applied Mathematics at SINTEF ICT.

Version 2017a was released on the 15th of May 2017, and can be downloaded under the terms of the GNU General Public License (GPL).


About MRST

MRST is a free open-source software for reservoir modelling and simulation. The software is mainly intended as a toolbox for rapid prototyping and demonstration of new simulation methods and modeling concepts. Like Matlab, the software is not a simulator, but offers a wide range of  data structures and computational methods you can easily combine to make your own custom-made modelling and simulation tools. The functionality is organized into:

  • a minimal core module offering basic data structures and functionality, and
  • a large set of add-on modules offering discretizations, solvers, physical models, and a wide variety of simulators and workflow tools.

In the modules, you will find many tutorial examples that explain and showcase how the toolbox can be used to make general or fit-for-purpose simulators and workflow tools.  Using Matlab for reservoir simulation may seem strange at first, but most of the tools and simulators are quite efficient and can be applied to surprisingly large and complex models, including several realistic geological models that are supplied as part of the software. For more computationally challenging cases, we recommend using the open-source Flow simulator from the Open Porous Media (OPM) initiative.

MRST has a large world-wide user base: the last releases each have between 700 and 2100 unique downloads. If you have questions about the software, we encourage you to visit our user forum, which was launched in June 2016. We normally try to answer your post within a day or two, but sometimes it may take us a bit longer, e.g., during weekends or when we are approaching a deadline in one of the many research projects that we run for various clients.


If you use MRST to write a scientific publication, we request that you cite the MRST book or one of our overview papers:

The user guide gives a general introduction to MRST and simulation of single-phase flow. The user guide is expanded whenever time permits, and simulation of multiphase flow will be discussed in a future version. The first paper explains how you can use automatic differentiation in combination with a flexible grid format, discrete differential operators, and vectorization in Matlab to develop fully implicit multiphase simulators. This is the modern way of using MRST. The second paper discusses unstructured grids, discretizations and incompressible solvers, which were the focus during the early development of the software.