Skip to main content

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

This project was split out of ERT and libres.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oil_reservoir_synthesizer-0.2.0.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oil_reservoir_synthesizer-0.2.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file oil_reservoir_synthesizer-0.2.0.tar.gz.

File metadata

File hashes

Hashes for oil_reservoir_synthesizer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 112cd3a0bf2258aff44456e75c9f7368e0f6bc4745fa8e883d6f86582db8b87e
MD5 05daebbf6f990aaff61ed68a65111e82
BLAKE2b-256 0149e2e5a8c907de1d55de08b623289e66865bfc0289a9401e459e5da7860442

See more details on using hashes here.

File details

Details for the file oil_reservoir_synthesizer-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for oil_reservoir_synthesizer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cb9aeaeac121892e8291f987b151b544be7db5a28659c08cb723fc0bca33a62
MD5 6bd0482b54956958e4fbc63d8eaa14cb
BLAKE2b-256 b631ee7747c1d66b064f95bc756b35119879b805f96da288df17aac516813c83

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page