How the AI analysis engine works, what it produces, and how to interpret its output.
Detego uses Claude, Anthropic's large language model, to perform comprehensive fault analysis. The AI acts as a virtual protection engineer — it examines your recording, takes measurements, and synthesizes a structured fault report.
All computations are performed locally in your browser against the actual COMTRADE data. No raw waveform data is sent to the AI — only computed results (phasor values, impedances, harmonic spectra, etc.). The AI receives these results and produces a structured report covering fault identification, fault characteristics, protection assessment, and recommendations.
Privacy
The AI engine has access to a comprehensive suite of analytical tools covering phasors, impedance, harmonics, fault detection, and protection assessment. It automatically selects the appropriate measurements based on your recording content and available channels.
| Tool | Description |
|---|---|
| Phasors | Magnitude (RMS) and angle at a specific time for all channels |
| RMS at Time | Single RMS value for one channel at one time |
| RMS Trend | Full RMS vs. time profile for a channel |
| Sequence Components | Positive, negative, and zero sequence phasors from three-phase channels |
| Sequence Trend | Sequence component magnitudes over the full recording |
| Tool | Description |
|---|---|
| Harmonics | Harmonic spectrum up to 25th order with THD |
| Impedance | Complex impedance Z = V/I (R, X, magnitude, angle) |
| Current Distortion | H2-H5 ratios, THD, waveform asymmetry for CT saturation/inrush detection |
| DC Offset & X/R | Initial DC magnitude, time constant, and X/R ratio from current decay |
| Frequency & ROCOF | Cycle-by-cycle frequency tracking and rate-of-change-of-frequency (df/dt) from voltage channels |
| Tool | Description |
|---|---|
| Fault Timing | Per-channel fault inception and clearance with multi-event support (auto-reclose detection) |
| Fault Classification | Fault type (SLG, LL, DLG, 3-phase) from sequence component ratios |
| Voltage Events | Sags, swells, and interruptions with timing and severity |
| Directional | Fault direction (forward/reverse/low confidence) using 90-degree quadrature method |
| Earth Fault Directional | Zero-sequence directional with automatic earthing type detection and wattmetric P₀ for Petersen coil networks |
| Earthing Classifier | Automatic network earthing type detection from zero-sequence fault measurements (Petersen coil, solidly earthed, insulated, resistance earthed) |
| Differential Analysis | Operate/restraint assessment for transformer differential protection |
When multiple fault events are detected (e.g., auto-reclose sequences), each event is analyzed independently with its own inception and clearance times.
The AI report is organized into sections, each covering a specific aspect of the fault analysis:
| Verdict | Meaning |
|---|---|
| CORRECT_OPERATION | The relay tripped correctly and the protection function was appropriate for the fault type |
| SLOW_OPERATION | The relay tripped correctly but took longer than expected |
| MISOPERATION | The relay tripped for the wrong reason, or failed to trip when it should have |
| INCONCLUSIVE | The AI cannot determine the protection performance with certainty |
Reports may include waveform charts showing key moments in the recording (fault inception, relay operation, clearance) with annotations highlighting important events. These charts are rendered from the actual COMTRADE data.
After receiving an AI report, a Chat button appears in the report toolbar. Clicking it opens a floating chat interface where you can ask follow-up questions about the analysis findings.
The AI retains full context from the original analysis — including the report content, recording metadata, and any relay settings or notes you provided. This means you can ask targeted questions without re-explaining the scenario.
Follow-up questions are useful for:
Conversations are persisted per analysis, so you can close the chat and return to it later. The message count badge on the Chat button shows how many exchanges have occurred.
Tip
When you re-analyze a recording that has been analyzed before, Detego preserves all prior analyses. A History picker appears in the report toolbar showing a numbered list of analyses with timestamps, fault types, and assessment verdicts.
Click any entry to view that historical report. This is useful for:
The most recent analysis is shown by default. The history picker indicates which report is currently displayed.
When the recording contains sufficient data, the AI performs specialized protection assessments:
For phase faults, the AI uses the 90-degree quadrature connection to determine fault direction. Standard polarizing pairs are used (e.g., Phase A current with BC voltage). Results include:
For earth faults, the AI uses residual (zero-sequence) quantities with an RCA appropriate to the network earthing type. Four earthing configurations are supported:
The earthing type is detected automatically from the zero-sequence fault measurements. When a dedicated zero-sequence current channel is available (e.g., CBCT / core balance CT), it is used in preference to the calculated residual for improved measurement accuracy.
When the AI identifies differential relay channels (matching HV/LV winding currents or pre-computed DIFF/BIAS channels), it performs an operate/restraint analysis at multiple time points through the fault, plotting operating points against the percentage slope characteristic.
Understanding the AI's limitations helps you interpret results correctly:
Relay settings optional — Relay protection settings can now be provided via XRIO file import through the Device Management workflow. When settings are available, the AI uses actual pickup thresholds and time delays for more specific assessments. Without relay settings, the AI relies on heuristic thresholds and the verdict may be INCONCLUSIVE for marginal cases.
Voltage-dependent analysis — Recordings with only current channels (no voltage) cannot support directional, impedance, or voltage sag analysis. The AI automatically skips these tools.
Channel naming — The AI identifies channels by their names in the COMTRADE file. Non-standard or ambiguous names may lead to incorrect channel pairing for three-phase calculations.
Model-based reasoning — The AI applies protection engineering principles but does not simulate relay behavior. Its assessment is based on measured quantities and heuristic thresholds, not a relay model.
CT saturation — Heavily saturated CT waveforms can distort all downstream calculations (phasors, RMS, impedance). The AI attempts to detect and flag CT saturation but cannot fully compensate for it.
Important
Full transparency is provided through the analysis report. Every report includes a Methodology section at the bottom that documents the measurements taken during analysis. This allows you to verify the AI's findings independently using the Compute tab.