Abstract
This work considers a coupled system of the MATLAB Reservoir Simulation Toolbox, a multi-phase network simulator and topside processing facilities, with the intent to provide a research tool for studying integrated planning and optimization. To this end, a collection of open-source tools are presented that can be combined with MATLAB Reservoir Simulation Toolbox to model, evaluate and optimize the economy of integrated systems, including reservoir and network under different market (costs and revenue) scenarios. The tools are organized in four repositories containing code for cost/price scenario modelling, derivative-free trust region optimization, pipe/network simulation and reservoir-network coupling and examples. A brief background on each of these tools is given, followed by the presentation of a fully implicit approach for the reservoir-network coupling. Moreover, a description is given on how to set up coupled simulation models, and finally, a presentation of numerical examples, including an optimization example that utilizes the full set of above-mentioned tools.