Oil & Gas Tools

Well drawing and data libraries for .NET: completion schematics, well logs, correlation panels and cross-sections on one shared depth axis.

Included in the Oil and Gas subscription

$80 /monthor$800 /year

Save $160

2 products, and every one added later. Paid in advance, does not renew automatically.

Category
Oil and Gas
Target frameworks
.NET 8 and .NET 9
Drawing
SkiaSharp, on any canvas
Country environments
62, one file per country
Packages
OilGas.*, from the NuGet feed your organisation configures
Load a well, build its view and export it C#
var provider = new MappedWellDataProvider(new CsvTabularSource(csvFolder), MappingProfile.Load("csv"));
WellLoadResult result = await provider.LoadWellAsync("CSV-1");
var view = WellModelConverter.ToWellboreView(result.Model,
    new WellModelConversionOptions { ExtraTracks = WellLogTracks.FromModel, GenerateBarriers = true }, out var conversionWarnings);
var canvas = new WellboreView { Document = view, Width = 1600, Height = 1000 };
IReadOnlyList<WellboreIssue> issues = canvas.Validate();
using var pdf = new MemoryStream();
int pages = WellboreExport.ToPdf(view, pdf);

What it is

Oil & Gas Tools (TheTechIdea.OilGas.* packages) draws professional well views on any SkiaSharp canvas and holds a canonical well data model. Loaders read LAS, DLIS, WITSML, CSV and PPDM sources and write LAS 3.0, WITSML and OSDU. Toolboxes add well integrity, drilling engineering, production and reservoir analysis, data and AI extraction, scenario-based training and mapping, each taking its methods from a named published source. Units, criteria, names, colours and data mappings are configuration, not code, and a command-line tool validates and sets up a company's environment.

What it does

Well views

  • Completion schematic with casing, liners, tubing, cement, equipment and the tally
  • Well logs: curves, lithology, core data, dips, borehole images, cement bond and mud log
  • Well integrity with barrier envelopes, leak paths, annuli and MAASP screening
  • Correlation panels and cross-sections, with tops joined as surfaces
  • Well path, formation pressure and live data that grows while drilling

Toolboxes

  • Well integrity: caliper wall loss, re-rated corroded joints, annular casing pressure and the field board
  • Drilling engineering: well planning, soft-string torque and drag, hydraulics and ECD, time-depth and NPT
  • Production and reservoir: Arps decline curves, fitting and EUR
  • Data and AI: legacy document extraction and well identity reconciliation, as proposals a person confirms
  • Training: exercises as data files on the well views, scoring and courses
  • Mapping: gridding, contour maps and 3D views of well data (in progress)

Data and configuration

  • Loaders for LAS, WITSML, CSV, PPDM and your own databases
  • Exports to LAS 3.0, OSDU and WITSML 2.1
  • One JSON environment per company or country adapts units, criteria, names and colours without code
  • The wellbore-config tool checks and sets up an environment on any platform

Get started

  1. Reference the libraries

    Take the data and loader libraries for services, and add the drawing libraries for views.

  2. Build a first view

    Load a well through a mapping profile, convert it to a view, check it and export it.

    First view C#
    var view = WellModelConverter.ToWellboreView(result.Model, new WellModelConversionOptions(), out var warnings);
  3. Set up a company environment

    Write out the template or a country environment and check it with the tool.

    Setup Shell
    wellbore-config where

Documentation

Start with Oil & Gas Tools

SubscribeOil and Gas: $80/mo or $800/yr, save $160 a year
$ reconnecting --to server connection lost — attempting to rejoin…