How to couple an external simulator (.exe) into Matlab Optimization module?

1 view (last 30 days)
I am trying to use MATLAB to run ECLIPSE reservoir simulator to find the optimum locations of oil wells in a field.
We have the ECLIPSE executable that we can call, there is an ECLIPSE input text file called input.DATA which includes well location in x and y directions. optimizer should change the x and y locations of the wells each time and then simulations need to be automatically submitted by MATLAB for the specified number of times and gives the field production values each time. we want to maximize the output: Cumulative Oil Production which exists in the output file.
then we will find the best configuration of wells in the field that maximizes the cumulative oil production.
I appreciate your help.
thanks.
  7 Comments
Hassaan
Hassaan on 20 Sep 2016
I have done my thesis by coupling matlab and eclipse reservoir simulator.
In that I have changed the well locations, generate time for water flooding, surfactant flooding, polymer flooding and post water flooding.
If anybody need any help regarding coupling eclipse with matlab you may contact me at

Sign in to comment.

Answers (1)

shyam panjwani
shyam panjwani on 22 Dec 2015
You can execute the following command using system() function in MATLAB . For example system(eclrun.exe -q.QUEUE eclipse "FileName.DATA")

Categories

Find more on Optimization Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!