PVT and Reservoir Tutorials¶
These tutorials go below the wellhead. The first one turns the laboratory report of a reservoir oil into a fluid model: it characterizes the heavy end, simulates the lab tests, tunes the equation of state against them, and exports the fluid to a flowsheet and the black-oil tables to a reservoir simulator. The second one couples DWSIM with the OPM Flow reservoir simulator, so that the reservoir, the gathering network and the plant are solved together over the years of production.
Tutorials¶
-
PVT Analysis of a Reservoir Oil: Enter the composition, the constant composition expansion, the differential liberation and the separator test of a published black oil, compare the untuned equation of state with the laboratory, fit it by regression, and send the fluid to a flowsheet that repeats the separator test.
-
From the Reservoir to the Plant: Generate the black-oil and lift tables of a three-well field with DWSIM, run its reservoir model in OPM Flow with the gathering network and the plant in the loop, and compare the production with that of the reservoir alone.
Prerequisites¶
- Completed the Intermediate Track and the Gas Gathering Network tutorial
- The PVT Analysis tool and the Reservoir Coupling extension are part of the Patreon edition, so the scripts need
DWSIM_PATRON_KEYwhen DWSIM is not activated on the machine - Tutorial 2 runs OPM Flow in the Windows Subsystem for Linux; its page explains the setup
How the reservoir and the plant meet¶
graph LR
L["Lab report<br/>(CCE, DLE, separator)"] --> E["Tuned equation<br/>of state"]
E --> B["Black-oil and<br/>lift tables"]
B --> R["Reservoir model<br/>(OPM Flow)"]
R -- well rates --> N["Gathering network<br/>and plant (DWSIM)"]
N -- wellhead pressure limits --> R
A reservoir simulator describes the oil with black-oil tables: how much gas the oil holds in solution (Rs) and how much the oil shrinks when it reaches the surface (Bo), against pressure. DWSIM computes those tables from the same equation of state that the plant uses, so both sides agree on the fluid. In the coupled run, the reservoir model gives the rate of each well at each step, DWSIM solves the network and the plant with those rates, and the wellhead pressures that the network needs go back to the reservoir model as limits for the next step.