未提供项目说明
ert的Python项目详细描述
ert
ERT-基于集成的储层工具-是一种运行基于 储层模型。ERT最初是作为模型更新的工具而设计的 (历史匹配)使用EnKF方法,现在是模型的主要方法 更新是使整体更平滑。在
$ pip install ert $ ert --help
或者,对于最新的开发版本:
^{pr2}$ert
程序基于三个不同的存储库:
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
选项调用。在
- 项目
标签: