搜索

PythonReactSEOPDF
GitHub Skill

production-forecaster

Forecast oil & gas well production using decline curve analysis. Use for EUR estimation, type curve generation, production modeling, and reserve calculations with Arps decline models (exponential, hyperbolic, harmonic).

vamseeachanta☆ 1 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Production Forecaster

Forecast oil and gas production using industry-standard decline curve analysis methods. Supports Arps decline models, type curve generation, and EUR (Estimated Ultimate Recovery) calculations for reserve estimation.

When to Use

  • Forecasting future production for oil and gas wells
  • Estimating EUR (Estimated Ultimate Recovery)
  • Generating type curves for field development planning
  • Fitting decline parameters to historical production data
  • Comparing well performance across different fields
  • Supporting reserve booking and economic evaluation
  • Analyzing production trends and anomalies

Core Pattern

Historical Production → Decline Curve Fit → Parameter Estimation → Forecast → EUR

Decline Curve Models

Arps Decline Equations

Exponential Decline (b = 0):

q(t) = qi * exp(-Di * t)

Hyperbolic Decline (0 < b < 1):

q(t) = qi / (1 + b * Di * t)^(1/b)

Harmonic Decline (b = 1):

q(t) = qi / (1 + Di * t)

Where:

  • q(t) = Production rate at time t
  • qi = Initial production rate
  • Di = Initial decline rate
  • b = Decline exponent (b-factor)
  • t = Time

<<<<<<< HEAD

Modified Hyperbolic Decline

For long-term forecasts, use terminal decline rate to prevent over-optimistic recoveries:

q(t) = qi / (1 + b * Di * t)^(1/b)     when D(t) > D_min
q(t) = q_switch * exp(-D_min * t')     when D(t) <= D_min

Where D_min is the terminal decline rate (typically 5-8%/year) and t' is time from switch point.

Duong Decline Model (Unconventional)

For unconventional wells with transient linear flow:

q(t) = q1 * t^(-m) * exp(-a/(1-m) * (t^(1-m) - 1))

Where:

  • q1 = Rate at t=1 day
  • a = Intercept (controls EUR)
  • m = Slope (controls decline steepness)
Stretched Exponential Decline

Alternative for unconventional with varying flow regimes:

q(t) = qi * exp(-(t/τ)^n)

Where:

  • τ = Characteristic time constant
  • n = Stretch parameter (0 < n < 1)

Type Curve Analysis Framework

Normalization Methods
Method Description Best For
peak Normalize to peak rate Wells with clear IP
first_month Normalize to first month average Consistent start-up
30_day_ip Average of first 30 days Standard IP definition
90_day_ip Average of first 90 days More stable baseline
moving_average Rolling 30-day average Noisy production data
cumulative_at_time Cum at specific time Reserve comparisons
Type Curve Bins

Group wells for representative type curves:

Bin Type Common Groupings
Formation Wilcox, Miocene, Lower Tertiary
Completion Subsea, TLP, Spar, Floater
Water Depth Shallow (<1000ft), Deep (1000-5000ft), Ultra-deep (>5000ft)
Lateral Length Short (<5000ft), Medium, Long (>8000ft)
Proppant Loading Low, Medium, High intensity
Vintage By year of first production
Type Curve Confidence Intervals
Percentile Description Use Case
P10 90% probability of exceedance Optimistic / Upside
P50 50% probability (median) Most likely case
P90 10% probability of exceedance Conservative / Downside

=======

origin/main

Implementation

Data Models
from dataclasses import dataclass, field
from datetime import date
from typing import Optional, List, Dict, Tuple
from enum import Enum
import numpy as np
import pandas as pd

class DeclineType(Enum):
<<<<<<< HEAD
    """Decline curve types."""
    EXPONENTIAL = "exponential"       # b = 0
    HYPERBOLIC = "hyperbolic"         # 0 < b < 1
    HARMONIC = "harmonic"             # b = 1
    MODIFIED_HYPERBOLIC = "modified"  # Hyperbolic with terminal decline
    DUONG = "duong"                   # Unconventional transient
    STRETCHED_EXP = "stretched"       # Stretched exponential

class NormalizationMethod(Enum):
    """Type curve normalization methods."""
    PEAK = "peak"
    FIRST_MONTH = "first_month"
    IP_30 = "30_day_ip"
    IP_90 = "90_day_ip"
    MOVING_AVG = "moving_average"
    CUMULATIVE = "cumulative_at_time"

class TypeCurveBinType(Enum):
    """Type curve binning categories."""
    FORMATION = "formation"
    COMPLETION = "completion"
    WATER_DEPTH = "water_depth"
    LATERAL_LENGTH = "lateral_length"
    PROPPANT = "proppant"
    VINTAGE = "vintage"
=======
    """Arps decline curve types."""
    EXPONENTIAL = "exponential"  # b = 0
    HYPERBOLIC = "hyperbolic"    # 0 < b < 1
    HARMONIC = "harmonic"     

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!