PlayInsight Suite is a Python-based toolkit designed to accelerate oil and gas property evaluations by automating key technical workflows. It provides fast, scalable calculations for:
- Well spacing and 2D distance analysis
- Parent-child relationship identification
- Arps production forecasting (hyperbolic, harmonic, exponential)
- Discounted cash flow (DCF) economic evaluation
PlayInsight integrates seamlessly with analytics databases, enabling engineers, analysts, and asset teams to handle large datasets and drive decisions in unconventional resource plays.
This repository includes:
Core modules implementing the PlayInsight workflows:
dcf_functions.py
: Future cash flow and DCF calculationsfluid_properties.py
: Oil and gas fluid property calculationsgeo_functions.py
: Sampling from geologic gridsprod_fcst_functions.py
: Arps-based production forecastingsql_connect.py
: Helpers for MS SQL Server interactionsql_schemas.py
: Sample SQL schema for use with the suitewell_spacing.py
: 2D spacing and parent-child logic
Configuration system for customizing workflows:
analytics_config.yaml
: Stores all user-defined settingsconfig_loader.py
: Helper to load config in Python
Example geologic grids to test grid sampling functions.
End-to-end pipeline scripts for applying spacing, forecasting, and analysis:
arps_autofit.py
: Fit Arps models to production dataparent_child_assignments.py
: Determine parent-child well relationshipswell_spacing_calcs.py
: Measure inter-well spacingupdate_geology.py
: Associate wells with geologic data- Jupyter notebooks used during prototyping and development
Scripts and helpers (CSS, IronPython, data functions) to build a GUI in TIBCO Spotfire.
Example SQL scripts for building and populating a data warehouse compatible with PlayInsight.
- Table creation scripts
- Stored procedures
- SQL views to power analytics dashboards
VS Code Remote - Containers configuration:
Dockerfile
: Python + dependencies environmentdevcontainer.json
: VS Code configuration
Using this is optional, but highly recommended for contributors and power users.
requirements.txt
: Python libraries requiredsetup.py
: Installation and module packaging.gitignore
: Files and folders excluded from version controlDockerfile
: Standalone image build for manual Docker usagePlayInsight.pdf
: Overview presentation of core workflowsREADME.md
: This fileUSAGE.md
: Step-by-step instructions for setup and usage
See USAGE.md for setup instructions, including:
- Cloning the repo
- Using VS Code with Dev Containers
- Running analysis pipelines
- Connecting to SQL and Spotfire
This project is licensed under the MIT License.
© 2025 Jay Engineering, LLC.
By using this software, you agree to the terms of the license.
📧 Questions? Contact [email protected].