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.add_well("wellName", seed=997)
simulator.add_block("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
Close
Hashes for oil_reservoir_synthesizer-0.2.1b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d533c82598e0298060301d74b5e44ee2420b2558f9bd9f4e42039aec7533c852 |
|
MD5 | d4d09e08894e9afc7b6f88c837fadcac |
|
BLAKE2b-256 | 67e5b6ac0a5b026e7240b12816e2aea0cefb5adb9a74fc5e15c68c8669739266 |
Close
Hashes for oil_reservoir_synthesizer-0.2.1b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6cc37926adfeb5d5a753e6a478bba5c82a41097e2657ec53c731b1f086f0da2 |
|
MD5 | 37699c64be9a47cc38fca7e8bf461cb2 |
|
BLAKE2b-256 | 7f9ed533896af4fb78e7c712ea5e01899c3dd4ce5816fb2877057b316137bad7 |