A generator for synthetic oil reservoir values
Project description
Oil Reservoir Synthesizer
A generator for synthetic oil reservoir simulator results based on Perlin noise. The values generated are pseudo-random but retains the nice properties of Perlin noise.
The values generated have names (such as fopr) that are derived from oil simulators such as opm-flow.
Example
The code exposes one class, OilSimulator which is a builder of
the oil reservoir model and the generator of the values.
from oil_reservoir_synthesizer import OilSimulator
simulator = OilSimulator()
# Build a model with one well and block
simulator.addWell("wellName", seed=997)
simulator.addBlock("5,5,5", seed=31)
# Run simulation
num_steps = 10
fopr_values = [] # oil production rate for each time step
for time_steps in range(num_steps):
simulator.step(scale=1.0 / num_steps)
fopr_values.append(simulator.fopr())
Building
pip install .
Testing
pip install -e .[dev]
tox test
History
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oil_reservoir_synthesizer-0.2.0.tar.gz.
File metadata
- Download URL: oil_reservoir_synthesizer-0.2.0.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
112cd3a0bf2258aff44456e75c9f7368e0f6bc4745fa8e883d6f86582db8b87e
|
|
| MD5 |
05daebbf6f990aaff61ed68a65111e82
|
|
| BLAKE2b-256 |
0149e2e5a8c907de1d55de08b623289e66865bfc0289a9401e459e5da7860442
|
File details
Details for the file oil_reservoir_synthesizer-0.2.0-py3-none-any.whl.
File metadata
- Download URL: oil_reservoir_synthesizer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 19.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cb9aeaeac121892e8291f987b151b544be7db5a28659c08cb723fc0bca33a62
|
|
| MD5 |
6bd0482b54956958e4fbc63d8eaa14cb
|
|
| BLAKE2b-256 |
b631ee7747c1d66b064f95bc756b35119879b805f96da288df17aac516813c83
|