The MATLAB Reservoir Simulation Toolbox (MRST) is primarily developed by the Computational Geosciences group in the Department of Mathematics and Cybernetics at SINTEF Digital. However, there are several third-party modules developed by Heriot-Watt University, NTNU, TNO, and TU Delft.
Version 2018b was released on the 20th of December 2018, and can be downloaded under the terms of the GNU General Public License (GPL).
MRST is a free open-source software for reservoir modelling and simulation. Like MATLAB, MRST is not primarily a simulator, but is mainly intended as a toolbox for rapid prototyping and demonstration of new simulation methods and modeling concepts. To this end, the toolbox offers a wide range of data structures and computational methods you can easily combine to make your own custom-made modelling and simulation tools. Nonetheless, MRST also offers a quite comprehensive black-oil and compositional reservoir simulator capable of simulating industry-standard models and graphical user interfaces for post-processing simulation results.
The software is organized into:
In the modules, you will find many tutorial examples that explain and showcase how the MRST 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 OPM Flow simulator from the Open Porous Media initiative.
MRST has a large world-wide user base: the last releases each have more than 17.000 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 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. The first two paper explain 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 last paper discusses unstructured grids, discretizations and incompressible solvers, which were the focus during the early development of the software.
We also encourage you to look at the many publications that use MRST. This includes almost 130 master and PhD theses and more than 200 journal and proceedings papers written by authors outside of the MRST development team.