소스 정보
- 저장소
- kucherenko/petropowers
- 최근 소스 활동
- 2026년 4월 6일 08:19
- 감지된 SKILL.md 언어
- 영어
- 스타
- 10
- 포크
- 4
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/kucherenko/petropowers --skill reservoir-production명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Generate realistic synthetic oil & gas data (LAS well logs, SEG-Y seismic, core photos, time-series) with proper physical constraints for testing, demos, and training.
Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions
SOC 직업 분류 기준
SKILL.md 표시 중
| name | reservoir-production |
| description | Guide AI agents through reservoir management and production optimization. |
Guide AI agents through reservoir management and production optimization.
Support reservoir and production engineers in managing hydrocarbon extraction and optimizing well performance.
| Data | Source | Frequency |
|---|---|---|
| Oil/gas/water rates | SCADA/Metering | Daily/Real-time |
| Pressure (BHP, THP) | Downhole gauges | Real-time |
| Temperature | Downhole gauges | Real-time |
| Reservoir models | Eclipse, CMG, tNavigator | Updated annually |
| Well tests | Separators/MPFM | Monthly |
These tasks are handled by this skill:
These tasks invoke petropowers:oil-gas-delegation:
import numpy as np
import pandas as pd
from scipy.optimize import curve_fit
def arps_decline(t, qi, di, b):
"""Arps decline equation"""
return qi / (1 + b * di * t)**(1/b)
# Example production data
months = np.arange(1, 61)
actual_rate = 1000 / (1 + 0.1 * months)**(1/0.5) # D = 0.1, b = 0.5
# Fit decline curve
popt, _ = curve_fit(arps_decline, months, actual_rate, p0=[1000, 0.1, 0.5])
qi, di, b = popt
print(f"Initial rate (qi): {qi:.0f} bpd")
print(f"Initial decline (di): {di:.2f}")
print(f"Arps exponent (b): {b:.2f}")
# Forecast
forecast_months = np.arange(1, 121)
forecast_rate = arps_decline(forecast_months, *popt)
print(f"Forecast at 10 years: {forecast_rate[-1]:.0f} bpd")
def vogel_ipr(p_res, p_wf, q_test):
"""Vogel IPR equation for undersaturated oil"""
# Calculate productivity index
pi = q_test / (p_res - p_wf)
# Vogel equation: q/q_max = 1 - 0.2*(p_wf/p_res) - 0.8*(p_wf/p_res)^2
q_max = q_test / (1 - 0.2*(p_wf/p_res) - 0.8*(p_wf/p_res)**2)
def rate_at_pressure(pwf):
return q_max * (1 - 0.2*(pwf/p_res) - 0.8*(pwf/p_res)**2)
return rate_at_pressure
# Example: Reservoir pressure 3000 psi, tested at 2000 psi flowing
p_res = 3000
p_wf = 2000
q_test = 500 # bpd
ipr = vogel_ipr(p_res, p_wf, q_test)
# Calculate rate at different flowing pressures
for pwf in [2500, 2000, 1500, 1000]:
rate = ipr(pwf)
print(f"Pwf = {pwf} psi: Rate = {rate:.0f} bpd")
def vlp_gas_lift(q, thp, depth, gl_rate, pipe_id=2.992):
"""Simplified vertical lift performance with gas lift"""
# Simplified: gradient decreases with gas lift
# rho = f(oil_rate, gas_lift_rate)
# Approximate gradient (psi/ft)
liquid_rate = q / 24 # bpd to bpm
glr = gl_rate / liquid_rate if liquid_rate > 0 else 0
# Gradient decreases with GLR
gradient = 0.35 - 0.001 * glr
gradient = max(gradient, 0.15) # minimum gradient
# Calculate BHP
bhp = thp + gradient * depth
return bhp
# Example: Optimize gas lift
thp = 150 # psi
depth = 8000 # ft
q = 500 # bpd
print("Gas Lift Rate | BHP Required")
print("-" * 30)
for gl_rate in [0, 1, 2, 3, 4]:
bhp = vlp_gas_lift(q, thp, depth, gl_rate)
print(f"{gl_rate:.0f} MMscfd | {bhp:.0f} psi")
def material_balance_oil(p, N, pi, bob, ce, cf):
"""Simplified material balance for undersaturated oil reservoir"""
# F = N * (Eo + Ef)
# F = Np * Bob (production)
# Eo = Bob - Boi (oil expansion)
# Ef = (1-N) * (pi - p) * (ce + cf) / Bob
# Simplified: assume constant Bo
# Np = N * (pi - p) * ce / Bob
expansion = (pi - p) * ce / bob
Np = N * expansion
return Np
# Example: 100 MMbbl reservoir
N = 100 # MMbbl
pi = 4000 # psi
p = 3500 # psi current pressure
bob = 1.2 # rb/stb
ce = 15e-6 # 1/psi (compressibility)
cf = 3e-6 # 1/psi (formation compressibility)
Np = material_balance_oil(p, N, pi, bob, ce, cf)
print(f"Cumulative production: {Np:.1f} MMbbl")
print(f"Recovery factor: {Np/N*100:.1f}%")
| KPI | Units | Target |
|---|---|---|
| Uptime | % | >95% |
| Water cut | % | Varies |
| Gas/oil ratio | scf/stb | Varies |
| Drawdown | psi | Optimized |
| Artificial lift efficiency | % | >80% |