Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation egg model #115

Merged
merged 72 commits into from
Aug 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
316a7b2
When a eclipsecase doesnt have faults the object network doesnt have …
tayloris Apr 4, 2020
b3cd074
Merge remote-tracking branch 'upstream/master'
tayloris Apr 11, 2020
35870ef
mergin
tayloris Apr 15, 2020
c711e1d
Merge remote-tracking branch 'upstream/master'
tayloris Apr 15, 2020
2968eb4
Merge remote-tracking branch 'upstream/master'
tayloris Jun 17, 2020
f4f09fc
Merge remote-tracking branch 'upstream/master'
tayloris Jun 19, 2020
89bd53b
Adding lines that I added before in a prevous pull request but I dont…
tayloris Jun 19, 2020
4452dfe
Changing the webiz template to dysplay the first and last iteration o…
tayloris Jun 19, 2020
d58ec15
Deleting a space i added
tayloris Jun 19, 2020
e81ebb3
Adding a space to pass LGTM
tayloris Jun 20, 2020
4aec9de
Adding another space to pass LGTM
tayloris Jun 20, 2020
376ae25
Merge remote-tracking branch 'upstream/master'
tayloris Jun 20, 2020
6191ab3
Merge branch 'master' of https://github.com/tayloris/flownet
tayloris Jun 20, 2020
7d261e0
no idea what I'm doing
tayloris Jun 25, 2020
30397a7
solving a problem with my mergings
tayloris Jun 25, 2020
01015fd
Merge remote-tracking branch 'upstream/master'
tayloris Aug 4, 2020
f3bda6a
Merge remote-tracking branch 'upstream/master'
tayloris Aug 11, 2020
1d49562
Egg Model data link does not work, changing to another Egg model data…
tayloris Aug 11, 2020
826c467
Creating an initial file to document egg model example
tayloris Aug 11, 2020
adc9a94
Adding Egg model to the index
tayloris Aug 11, 2020
6d19f3d
Adding more information about the preprocesing
tayloris Aug 11, 2020
ec49ae8
Adding an example of egg model configuration file
tayloris Aug 11, 2020
9bb0f2e
Addind a style to text correspondinf with the Eclipse input file
tayloris Aug 11, 2020
74cb0f4
Adding more content to egg model documentation
tayloris Aug 11, 2020
196f398
Fixing some mis-speling
tayloris Aug 11, 2020
0684e57
changin example for case
tayloris Aug 11, 2020
40298da
Adding the figure showing the results in Webviz
tayloris Aug 11, 2020
690ebde
Renaming a file
tayloris Aug 11, 2020
00d33c9
Adding a reference to the authors of egg model and adding a sintef logo
tayloris Aug 11, 2020
a3ed047
Resizing sintef logo
tayloris Aug 11, 2020
6bbf6b5
Chaging the structure to have an complete example sextion in the docu…
tayloris Aug 13, 2020
2551b7d
Adding Norne and Bruge files to the structure and changing egg model …
tayloris Aug 13, 2020
1fc47fa
adding a code styling for the command line instructions
tayloris Aug 13, 2020
cbc4237
Adding a more extensive reference of Egg model requested by Prof. Jan…
tayloris Aug 13, 2020
5c51fe0
Fixing a small detail with the reference number
tayloris Aug 13, 2020
6453cb2
Merge remote-tracking branch 'upstream/master'
tayloris Aug 13, 2020
2e2e42d
Egg Model data link does not work, changing to another Egg model data…
tayloris Aug 11, 2020
ba62a6e
Creating an initial file to document egg model example
tayloris Aug 11, 2020
9b6a6c1
Adding Egg model to the index
tayloris Aug 11, 2020
e95aa64
Adding more information about the preprocesing
tayloris Aug 11, 2020
32b7851
Adding an example of egg model configuration file
tayloris Aug 11, 2020
58fff63
Addind a style to text correspondinf with the Eclipse input file
tayloris Aug 11, 2020
c87cdf7
Adding more content to egg model documentation
tayloris Aug 11, 2020
eb5a471
Fixing some mis-speling
tayloris Aug 11, 2020
3ac06d1
changin example for case
tayloris Aug 11, 2020
a5e4447
Adding the figure showing the results in Webviz
tayloris Aug 11, 2020
a327e25
Renaming a file
tayloris Aug 11, 2020
b173985
Adding a reference to the authors of egg model and adding a sintef logo
tayloris Aug 11, 2020
639a554
Resizing sintef logo
tayloris Aug 11, 2020
35724aa
Chaging the structure to have an complete example sextion in the docu…
tayloris Aug 13, 2020
7d1b030
Adding Norne and Bruge files to the structure and changing egg model …
tayloris Aug 13, 2020
55d98db
adding a code styling for the command line instructions
tayloris Aug 13, 2020
1cb7153
Adding a more extensive reference of Egg model requested by Prof. Jan…
tayloris Aug 13, 2020
c535efa
Fixing a small detail with the reference number
tayloris Aug 13, 2020
a2764f1
Merge branch 'documentation_egg_model' of https://github.com/tayloris…
tayloris Aug 13, 2020
ddbff6f
Adding the updated egg config that finally works very good
tayloris Aug 18, 2020
89d5f08
Adding the updated webiz figure
tayloris Aug 18, 2020
df99a94
Update docs/egg_model_example.rst
tayloris Aug 18, 2020
521f81e
Update docs/egg_model_example.rst
tayloris Aug 18, 2020
cab265a
Update docs/egg_model_example.rst
tayloris Aug 18, 2020
e07ed9c
Update examples/egg_parameters.yml
tayloris Aug 18, 2020
5e7f9e3
Update examples/egg_parameters.yml
tayloris Aug 18, 2020
e5f1d21
Update docs/index.rst
tayloris Aug 18, 2020
90ce079
Update docs/egg_model_example.rst
tayloris Aug 18, 2020
499c713
Update docs/egg_model_example.rst
tayloris Aug 18, 2020
8359232
Update docs/egg_model_example.rst
tayloris Aug 18, 2020
c36b0dd
Update docs/egg_model_example.rst
tayloris Aug 18, 2020
58466c3
Update examples/egg_parameters.yml
tayloris Aug 18, 2020
0c6e5c0
Update docs/egg_model_example.rst
tayloris Aug 20, 2020
7a76ebd
Merge branch 'master' into documentation_egg_model
tayloris Aug 20, 2020
2dd504d
Delete sintef_logo.jpg
tayloris Aug 21, 2020
ca00f74
Merge branch 'master' into documentation_egg_model
tayloris Aug 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/_static/webviz_results_egg_model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/brugge_model_example.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
==========================
Brugge model case
==========================


145 changes: 145 additions & 0 deletions docs/egg_model_example.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
==========================
The Egg model case
==========================


The Egg model is a synthetic reservoir model developed by `J. D. Jansen et al., 2013 <https://rmets.onlinelibrary.wiley.com/doi/pdf/10.1002/gdj3.21>`_ [1].


Data files
==========

- `The Egg Model - data files <https://data.4tu.nl/articles/The_Egg_Model_-_data_files/12707642>`_ [2]


Modifications to the simulations setup
======================================

A few modifications to the original Egg model input file `Egg_Model_ECL.DATA` are required in order run Flownet.

1. The COMPAT section is changed to have differences in depth between injectors and producers. With this, we avoid problems related to degenerate tetrahedrons that we would otherwise obtain in the triangulation procedure for the network generation.

::

COMPDAT
'INJECT1' 2* 4 7 'OPEN' 2* 0.2 1* 0 /
'INJECT2' 2* 4 7 'OPEN' 2* 0.2 1* 0 /
'INJECT3' 2* 4 7 'OPEN' 2* 0.2 1* 0 /
'INJECT4' 2* 4 7 'OPEN' 2* 0.2 1* 0 /
'INJECT5' 2* 4 7 'OPEN' 2* 0.2 1* 0 /
'INJECT6' 2* 4 7 'OPEN' 2* 0.2 1* 0 /
'INJECT7' 2* 4 7 'OPEN' 2* 0.2 1* 0 /
'INJECT8' 2* 4 7 'OPEN' 2* 0.2 1* 0 /
'PROD1' 2* 1 3 'OPEN' 2* 0.2 1* 0 /
'PROD2' 2* 1 3 'OPEN' 2* 0.2 1* 0 /
'PROD3' 2* 1 3 'OPEN' 2* 0.2 1* 0 /
'PROD4' 2* 1 3 'OPEN' 2* 0.2 1* 0 /
/



2. The section PROPS simulation keyword is saved as an independent file `PROPS.inc`.

::

DENSITY
900 1000 1 /
PVCDO
400 1 1.000E-05 5 0/
PVTW
400 1 1.000E-05 1 0/


3. Output variables of interest have been specified in the SUMMARY section.
tayloris marked this conversation as resolved.
Show resolved Hide resolved

::

SUMMARY
FOPR
FWPR
FWIR
WOPR
'PROD1'
'PROD2'
'PROD3'
'PROD4'
/
WWPR
'PROD1'
'PROD2'
'PROD3'
'PROD4'
/
WWIR
'INJECT1'
'INJECT2'
'INJECT3'
'INJECT4'
'INJECT5'
'INJECT6'
'INJECT7'
'INJECT8'
/
FOPT
FWPT
FWIT
WLPR
'PROD1'
'PROD2'
'PROD3'
'PROD4'
/
WBHPH
/
WBHP
/


4. Then you can run - `OPM Flow <https://opm-project.org/?page_id=19>`_ to update input files to FlowNet

.. code-block:: bash

flow Egg_Model_ECL.DATA





Assisted history matching example
=================================

The following `YAML <https://yaml.org/>`_ configuration file for FlowNet was used to train the data-driven version of the Egg model:

.. literalinclude:: ../examples/egg_parameters.yml
:language: yaml
:linenos:


To run the assisted history matching in FlowNet:


.. code-block:: bash

flowet ahm /config_file_directory/egg_parameters.yml output_directory



Webiz visualization
===================

.. code-block:: bash

python output_directory/generated_app/webviz_app.py


.. image:: ./_static/webviz_results_egg_model.png
tayloris marked this conversation as resolved.
Show resolved Hide resolved


References
==========

[1] Jansen, J.D., Fonseca, R.M., Kahrobaei, S., Siraj, M.M., Van Essen, G.M., and Van den Hof, P.M.J., 2014: The egg model - A geological ensemble for reservoir simulation. Geoscience Data Journal 1 (2) 192-195. https://doi.org/10.1002/gdj3.21


[2] J.D. Jansen (2013): The Egg Model - data files. 4TU.ResearchData. Dataset.
https://doi.org/10.4121/uuid:916c86cd-3558-4672-829a-105c62985ab2
9 changes: 9 additions & 0 deletions docs/examples.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
**************************
Examples
**************************

.. include:: norne_model_example.rst

.. include:: brugge_model_example.rst

.. include:: egg_model_example.rst
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ FlowNet documentation

introduction
configuration_file
examples
api

Indices and tables
Expand Down
2 changes: 1 addition & 1 deletion docs/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The core developers of FlowNet are currently testing on the following open bench

- `Norne model <https://github.com/OPM/opm-data/tree/master/norne>`_
- `Brugge model <https://www.isapp2.com/data-sharepoint/brugge-data-set.html>`_ (soon to be available on GitHub)
- `Egg model <https://data.4tu.nl/repository/uuid:916c86cd-3558-4672-829a-105c62985ab2>`_
- `Egg model <https://data.4tu.nl/articles/The_Egg_Model_-_data_files/12707642>`_

A small Norne assisted history matching example using FlowNet is automatically started
on each commit to FlowNet pull requests, in order verify the code changes.
Expand Down
5 changes: 5 additions & 0 deletions docs/norne_model_example.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
==========================
Norne model case
==========================


78 changes: 78 additions & 0 deletions examples/egg_parameters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Egg

flownet:
data_source:
input_case: ../input_model/EGG_MODEL_ECL
cell_length: 10
additional_flow_nodes: 50
additional_node_candidates: 1000
hull_factor: 1.2
random_seed: 999
perforation_handling_strategy: bottom_point #bottom_point #multiple
tayloris marked this conversation as resolved.
Show resolved Hide resolved
fast_pyscal: True
training_set_fraction: 0.8
fault_tolerance: 0.1
ert:
static_include_files: ../input_model/
realizations:
num_realizations: 250
required_success_percent: 80
max_runtime: 600
queue:
system: LOCAL
max_running: 4
ensemble_weights:
- 4
- 3
- 2
- 1
- 1
- 1
- 1
- 1
- 1

model_parameters:
permeability:
min: 10
max: 10000
porosity:
min: 0.01
max: 0.35
bulkvolume_mult:
min: 1
max: 20
relative_permeability:
scheme: global
swirr:
min: 0.01
max: 0.2
swl:
min: 0.01
max: 0.2
swcr:
min: 0.1
max: 0.3
sorw:
min: 0.05
max: 0.3
krwend:
min: 0.5
max: 0.7
krowend:
min: 0.6
max: 0.9
nw:
min: 1.5
max: 4.5
now:
min: 2.5
max: 5.5
equil:
datum_depth: 4000
datum_pressure:
min: 380
max: 420
owc_depth:
min: 4980
max: 5020