welltest_pta.reservoir_parameters
- welltest_pta.reservoir_parameters(slope_m, p_1hr, p_wf_at_shut_in, q, mu, B, h, phi, ct, rw, early_storage_slope=None)[source]
Compute \(kh\), \(k\), \(S\), and (optionally) \(C\).
- Parameters:
slope_m (
float) – Semilog slope (psi/cycle) — magnitude doesn’t matter, sign is handled internally.p_1hr (
float) – Pressure at \(\Delta t = 1\) hr on the IARF straight line (psi). For Horner: \(p_{1\text{hr}} = m \log_{10}(t_p+1)+P^*\). For MDH: just the intercept.p_wf_at_shut_in (
float) – Flowing pressure at the instant of shut-in (psi). Skin is computed from \((p_{1\text{hr}} - p_{wf})\).q (
float) – Flow rate (STB/D for oil — convert gas to its own equation).mu (
float) – Viscosity (cp).B (
float) – Formation volume factor (RB/STB).h (
float) – Net pay (ft).phi (
float) – Porosity (fraction, 0–1).ct (
float) – Total compressibility (1/psi).rw (
float) – Wellbore radius (ft).early_storage_slope (
Optional[float]) – Optional — \(d\Delta p/dt\) at very early time (psi/hr). If provided, wellbore storage \(C\) (bbl/psi) is also returned.
- Return type:
- Returns:
dict with keys
kh,k,skin,C(None if not supplied),plus
p_skin(additional pressure drop due to skin, psi).