Petroleum Simulation Software

The importance of simulation programs in the petroleum industry lies in well drilling operations, production management and development, and early prediction of problems before they occur.

In the petroleum and offshore energy sector, operational downtime can cost hundreds of thousands of dollars per hour, while downhole and marine environments present extreme physical risks. Simulation programs have become indispensable across three critical pillars:

Well Drilling Operations: Optimizing drill string dynamics, bit-rock interactions, and electrified heavy machinery (top drives, mud pumps, drawworks).

Production Management & Development: Modeling reservoir flow, artificial lift systems (e.g., Electric Submersible Pumps - ESPs), and subsea power distribution.

Early Prediction & Problem Prevention: Anticipating dangerous phenomena such as stick-slip oscillations, drill string resonance, power blackouts on drillships, and converter component failures before hardware is deployed in the field.

Drilling (DRILL) Applications Powered by Real-Time FPGA Solvers (eHS)
Modern offshore drillships and land rigs are effectively isolated, high-power electric microgrids. Variable Frequency Drives (VFDs) and multi-megawatt power converters control critical drilling actuators.

Validating these systems requires capturing both sub-microsecond electrical transients (switching frequencies, PWM harmonics, inverter faults) and multi-millisecond mechanical/hydraulic dynamics (torsional drill string oscillations, heave motion, mud pressure).

┌─────────────────────────────────────────────────────────────────────────────┐
│ HYBRID REAL-TIME HIL SETUP │
│ │
│ ┌──────────────────────────────┐ ┌───────────────────────────────┐ │
│ │ eHS on FPGA (< 1 µs) │ │ CPU Core (10 µs - 1 ms) │ │
│ │ ──────────────────────────── │ FLWS/ │ ───────────────────────────── │ │
│ │ • Multi-level VFD / Inverters│ Decouple│ • Drill string mechanics │ │
│ │ • Active Front End (AFE) │◄─────►│ • Top drive inertia & load │ │
│ │ • Motor stator dynamics │ │ • Rig microgrid & diesel gens │ │
│ │ • High-speed PWM & I/O │ │ • Mud pump hydraulics │ │
│ └──────────────▲───────────────┘ └───────────────────────────────┘ │
└──────────────────┼──────────────────────────────────────────────────────────┘
│ High-Speed Gating / Analog & Digital I/O
▼
┌────────────────────────────┐
│ Physical Drive / Rig PLC │ (Device Under Test / DUT)
│ - Anti-stick-slip control │
│ - VFD firing & protection │
└────────────────────────────┘
Core Drilling Use Cases with eHS

  1. Top Drive Systems & Anti-Stick-Slip Mitigation
    The Challenge: When drilling deep or horizontal wells, friction causes the bit to stall while the top drive continues rotating, storing elastic energy in the drill string until the bit violently releases (“stick-slip”). This damages the bit, shears drill pipes, and causes severe torque shocks back into the top drive motor and converter.

The eHS Integration:

Electrical Domain (FPGA / eHS): The top drive’s multi-megawatt motor and converter (e.g., 3-level NPC or active front-end inverter) run in eHS with sub-microsecond time steps (32\text{ ns} - 1\text{ }\mu\text{s}) to capture rapid current loops and torque ripple.

Mechanical Domain (CPU): A multi-mass, distributed-parameter torsional model of the thousands of meters of drill string runs on the CPU.

HIL Validation: Physical motor drive controllers (e.g., Soft Torque Rotary Systems) connect to the simulator to test active damping algorithms that dynamically modulate motor speed to absorb torsional vibrations before field deployment.

  1. Drawworks & Active Heave Compensation (AHC)
    The Challenge: On floating offshore rigs (drillships and semi-submersibles), wave action causes vertical rig motion. The drawworks system must continuously compensate for heave to maintain constant Weight-on-Bit (WOB).

The eHS Integration:

Simulates 4-quadrant regenerative drives and common DC-bus architectures under rapid acceleration, deceleration, and dynamic braking.

Assesses energy storage systems (BESS or supercapacitors) connected to the DC bus during regenerative braking, ensuring voltage stability during extreme sea states.

  1. Rig Power Quality & Microgrid Blackout Prevention
    The Challenge: Drilling rigs operate on islanded power networks powered by diesel/gas generators. Large cyclic loads from mud pumps and top drives introduce heavy harmonic distortion, voltage sags, and inter-harmonics that can trip generator protection relays, leading to catastrophic blackouts (loss of position for DP drillships).

The eHS Integration:

Models Active Front Ends (AFEs), harmonic filters, and power distribution transformers directly on the FPGA.

Tests generator excitation and governor controllers in closed loop against sudden drill bit stalling or emergency load shedding.

  1. Electric Submersible Pumps (ESP) & Long-Cable Downhole Telemetry
    The Challenge: ESPs located thousands of meters downhole are fed by long umbilical cables. High dv/dt inverter pulses create reflected wave phenomena, voltage doubling at the motor terminals, and insulation breakdown.

The eHS Integration:

Fast EMT simulation in eHS models distributed-parameter transmission lines, sine-wave filters, and high-frequency inverter switching to evaluate insulation stress and downhole sensor communication interference.

Why eHS is Essential for Drilling Simulation
No FPGA VHDL Coding Required: Power electronics schematics designed in Simscape Specialized Power Systems (SPS), PLECS, PSIM, or the OPAL-RT Schematic Editor are mapped directly into the FPGA solver core.

Deterministic Sub-Microsecond Execution: Captures switching frequencies up to hundreds of kHz and transient fault behaviors without numerical instability or solver overruns.

Comprehensive Fault Injection: Enables testing extreme edge cases in the safety of the lab—including IGBT open/short-circuit faults, ground faults, sensor failures, and sudden mechanical stalls—ensuring the drive firmware handles failures gracefully before being deployed offshore.