How to couple an external simulator (.exe) into Matlab Optimization module?
Show older comments
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
Joash dong
on 12 Apr 2015
hello ,I also do a similar study with you, could you tell me the problem you solved?Can you give me some help!thank you very much!
Mohammad Abouali
on 12 Apr 2015
I recently did similar thing. (not with ECLIPSE but another model).
Can ECLIPSE be executed from command prompt without user intervention? I mean Does it require user and GUI interaction or not?
Ayoub GUESMIA
on 16 Apr 2015
I'm also looking for coupling MATLAB with the petroleum expert IPM software (MBAL) to optimize allocation factors of producing and injecting wells in material balance calculations. is there a Tool-kit for that ? thank you for your help.
Ngufor Korande
on 19 Apr 2016
A have the same problem: I want to use matlab to input positions to my eclipse data file. Then I call eclipse to run this file. Then I use matlab to read the eclipse output file and locate the position of optimized production.
Hassaan
on 20 Sep 2016
You can use system('$eclipse filename')
eg The file name is mywork.data system('$eclipse mywork')
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
ITILAYO RA T
on 28 Jul 2020
Hi Hassan,
I would appreciate your help regarding this.
Answers (1)
shyam panjwani
on 22 Dec 2015
0 votes
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 Petrophysics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!