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
Metadata
Release files for oil-reservoir-synthesizer 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oil_reservoir_synthesizer-0.2.0.tar.gz | 24.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oil_reservoir_synthesizer-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.9 kB
Release files / oil_reservoir_synthesizer-0.2.0.tar.gz
| Download URL | oil_reservoir_synthesizer-0.2.0.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
112cd3a0bf2258aff44456e75c9f7368e0f6bc4745fa8e883d6f86582db8b87e
|
|
BLAKE2b-256 checksum How to use checksums |
0149e2e5a8c907de1d55de08b623289e66865bfc0289a9401e459e5da7860442
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / oil_reservoir_synthesizer-0.2.0-py3-none-any.whl
| Download URL | oil_reservoir_synthesizer-0.2.0-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5cb9aeaeac121892e8291f987b151b544be7db5a28659c08cb723fc0bca33a62
|
|
BLAKE2b-256 checksum How to use checksums |
b631ee7747c1d66b064f95bc756b35119879b805f96da288df17aac516813c83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|