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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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