未提供项目说明

ert的Python项目详细描述


ertBuild Status

ERT-基于集成的储层工具-是一种运行基于 储层模型。ERT最初是作为模型更新的工具而设计的 (历史匹配)使用EnKF方法,现在是模型的主要方法 更新是使整体更平滑。在

$ pip install ert
$ ert --help

或者,对于最新的开发版本:

^{pr2}$

ert程序基于三个不同的存储库:

  1. ecl,其中包含读写Eclipse文件的实用程序。在

  2. libres管理储层数据的实用程序,以及算法实际上进行模型更新。在

  3. ert—这个存储库—实际的应用程序和所有的GUI。在

ERT现在只支持Python3。上一个与python2兼容的版本是2.14

发展中

ERT是纯Python软件。要开始开发,请以可编辑模式安装:

$ git clone https://github.com/equinor/ert
$ cd ert
$ pip install -e .

必须安装其他开发包才能运行测试套件:

$ pip install -r dev-requirements.txt
$ pytest tests/

示例用法

要真正让ert在您的站点上工作,您需要配置关于 您的系统;至少这意味着您必须配置 安装水库模拟器。这在Post installationlibres README的节。此外 您可能希望在site-config文件中配置队列系统,但是 对于基本测试来说,这并不是绝对必要的。在

在位置test-data/local/example_case是一个小的ert情况,可以 用于验证安装是否基本正常。示例配置 文件如下所示:

-- This ert configuration file is an example which can be used to check that your
-- local ert installation is basically sane. This example is not meant to be used
-- as an automatically run integration test, rather it is meant to be tested
-- interactively. In addition to the compiled application this will also verify that
-- the various configuration files are reasonably correctly stitched together.
--
-- To actually test this invoke the ert binary you have installed and give the path to
-- this file as argument:
--
--    /path/to/installed/ert/bin/ert example.ert
-- 
-- The example is based on the ECLIPSE100 forward model, that implies that you must
-- configure the local eclipse related details corresponding to your site[1].
-- 
-- NB: the current case has *not* been carefully constructed to demonstrate the
-- capabilities of ert; from a model updating perspective the current case is
-- totally uninteresting.
-- 
-- [1]: This amounts to editing the file ecl_config.yml in the res.fm.ecl python
-- package from the libres installation. See the documentation in the
-- ecl_config.yml example file supplied with the libres distribution, or
-- alternatively the "Post install configuration" section in the libres README. 

NUM_REALIZATIONS 20

QUEUE_SYSTEM LOCAL
QUEUE_OPTION LOCAL MAX_RUNNING 4

RUNPATH      output/simulations/runpath/realisation-%d/iter-%d
ENSPATH      output/storage

ECLBASE   EXAMPLE%d
DATA_FILE eclipse/model/SPE1.DATA
REFCASE   eclipse/refcase/REFCASE

GEN_KW MULT_PORO templates/poro.tmpl   poro.grdecl  parameters/poro.txt

-- This job will copy the file eclipse/input/schedule to the runpath folder. 
SIMULATION_JOB COPY_FILE eclipse/input/schedule  


-- This forward model job requires that you have eclipse version 2016.02
-- installed locally, feel free to modify this to use a different version if
-- that is what you have installed.
SIMULATION_JOB ECLIPSE100 2016.2 <ECLBASE>

OBS_CONFIG observations/observations.txt


-- This tells ert that you want to load all summary vectors starting with 'W'. 
-- 'F' and 'BPR'. To be able to use the wildcard notation this way you need to 
-- specify a REFCASE.

SUMMARY W*
SUMMARY F*
SUMMARY BPR*

{NB{NB}本地安装了哪个版本的模拟器 您可能需要将eclipse版本号2016.2更改为其他版本。

要真正测试这个,请转到test-data/local/example_case目录并 通过提供安装的二进制文件的完整路径来启动ert

   cd test-data/local/example_case
   /local/ert/install/bin/ert example.ert

然后ert图形用户界面就会出现,您可以按Run simulations 按钮。除了图形用户界面,还有一个简单的文本界面 可以使用--text选项调用。在

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java GWT对话框从不显示帮助   java在简单的MapReduce作业中带来了极大的开销   javacom。mysql。jdbc。例外情况。jdbc4。MySQLIntegrityConstraintViolationException:列不能为null/onetoone映射   如何通过TCP/IP与Java和Labview进行通信,并发送浮点数据缓冲区?   java Apache camel与spring事件基本示例   java如何使我的秒表应用程序在完全关闭后仍能运行?   java Nutch爬网错误输入路径不存在   java是Mapreduce中按值传递还是按引用传递的键?   正则表达式替换java中的特定字符   Java DOM XML解析   java Eclipse未显示服务器的项目   使用Arraylist进行快速排序的排序Java实现疑难解答   java Split text包含字符串列表中的数字   检查Java中的两个lambda是否执行相同的代码?   java为什么dispatchTouchEvent避免在屏幕上单击?