Power Grid Fault Analysis in MIStudio: Signal Analytics Detect, AI Explains, Using RTE Transmission Data

This video shows ErgoTech's MIStudio analysing real-world power-grid data from RTE, France's transmission system operator. MIStudio's time-series analytics first process the signal, decide whether something is wrong and produce quantitative evidence. If there is a fault, the results of that analysis, not the raw data, are passed to an LLM, which explains what the fault is.

Video, 4:00.

What the video shows

The video compares recorded grid readings against a clean golden reading and works through two faulted readings:

  • Analytics detect. MIStudio's time-series analytics apply signal processing, including fast Fourier transforms and frequency analysis. A reading is flagged as faulted by looking at spectral energy that is out of bounds. This is pure mathematics, with no trained AI model involved.
  • AI explains. A flagged reading is sent automatically to the LLM, together with the analytics performed on it rather than the raw data set. The LLM answers within about a second.
  • First fault. The LLM concludes that the problem is not a single event but a problem with the sinusoidal signal itself, which is also visible in the raw data, and that it is likely caused by some other equipment in the system.
  • Second fault. The LLM identifies arcing or switching transients, based on the energy measured by the analytics.

The whole application is built in MIStudio from existing components: data acquisition, time-series processing with FFT and frequency analysis, other analytics, visualization and alarm integration. Components are dragged onto the screen, configured and wired together, rather than writing a new code base for each application. The philosophy is "measure first, reason second".

Applications beyond this demo

The analysis in the video runs on recorded data files. Because the analytics are sub-second, the same application could collect data and run in real time. MIStudio also supports COMTRADE files, the standard format for recorded electrical data. The analytics are not limited to fault detection: the video mentions using fast MIStudio analytics to find the primary source of a bus oscillation, and the description adds PMU and grid-oscillation analysis as further applications.

Chapters

  1. 0:00 RTE grid data and the approach
  2. 0:50 Golden reading and a first fault
  3. 1:30 Second fault: arcing or switching transients
  4. 2:07 Live data and COMTRADE files
  5. 2:32 Bus oscillation analysis
  6. 2:58 Built from MIStudio components

Frequently asked questions

Why not give the raw waveform directly to the LLM?

In the video's words, an LLM "just isn't the right tool" for finding a fault in raw data. The analytics measure first, using FFT and spectral energy, and decide whether something is wrong. The LLM then reasons from those analytical results to explain what the fault is.

What faults are found in the video?

One reading has a problem with the sinusoidal signal that the LLM attributes to other equipment in the system rather than a single event. Another shows arcing or switching transients.

Can this work with COMTRADE files or live data?

Yes. COMTRADE files are supported in MIStudio, and because the analytics are sub-second, the same analysis can run on data collected in real time.

What is MIStudio?

MIStudio is an industrial automation, SCADA/HMI, DataOps and application engineering platform that enables engineers and LLMs to build, inspect and maintain industrial applications using proven software components.

Transcript

Show the transcript (from YouTube's captions, lightly corrected)

0:09 What we're looking at here is real-world power grid data from France's transmission system operator, RTE. What we want to know is whether there are faults in this data, a fault in this data, and if so, what that fault is. We're not going to directly ask an LLM to look at the raw data and determine if there's a fault. That's just isn't the right tool for this. What we're going to do is use MIStudio's time series analytics to do the signal, do some signal processing first. The analytics will determine whether there is something wrong. And then what we're going to do is we're going to use the, the LLM, the AI, to determine what the fault means, what is the actual fault.

0:50 What we're looking at now is a clean golden reading. If we look at another reading, we see this reading has a fault in it, and it has been picked up by the analytics as having a fault. And that's simply by looking at the spectral energy that's out of bounds. It's then automatically sent to the LLM for analysis. And we see within a second or so, the LLM comes back deciding that this is not a single event. It's, it's a problem with the sinusoidal signal, as we can see from the raw data, and that it's likely something to do with some other equipment in the system.

1:30 Let's look at another one. And to be clear, this is pure analytics. This is pure mathematics. We're not using a trained AI or anything similar. And what we're feeding to the LLM to make the analysis of what the problem is is not the raw data set, but the analytics we've performed on that raw data set. And so, having decided that the system is faulted, the LLM will once again tell us there's a fault, what the fault is. And here it's got it right. There's arcing or switching transients on the, the data, based on the, based on the, the energy that's out of balance.

2:07 This analysis is being performed on, on data files provided by OATI, but we could just as easily be collecting that data and running this data in real time. The analytics are sub-second, and so we could be collecting that and using that directly, or we could be using COMTRADE files, which are supported in MIStudio, reading in a standard format for electrical, from electrical distributors. And furthermore, we can, we're not limited to this type of analytics. We also looked at bus oscillations. I kind of wish somebody had told me this was a, a difficult problem, because I very quickly fell out what the primary source of this oscillation was from a very fast MIStudio analytics. And so there, there's a lot of flexibility in the, the analytics in MIStudio.

2:58 This whole application is built in MIStudio. MIStudio gives you the ability to acquire data. It provides time series processing, including fast Fourier transforms, time series and fast Fourier transform and frequency analysis, other analytics, and of course it provides the visualization you've been seeing, and the alarm integration, that are all components of the same platform. And it's all assembled by simply dragging and dropping components on the screen and configuring those components. We're not recreating a complete new application, a complete new code base for each one. We're just reusing components that already exist and wiring them up in different ways and with different configuration. So it's a very powerful tool. And so the philosophy here is measure first, reason second, and this is a good example of how MIStudio combines analytics and a

Watch on YouTube »   All videos »