Counterfactual optimization for fault prevention in complex wind energy systems

Emilio Carrizosa, Martina Fischetti, Roshell Haaker, Juan Miguel Morales
7/8/2025
eess.SYcs.LGmath.OC

No confident code implementation found for this paper.

Abstract

Machine Learning models are increasingly used in businesses to detect faults and anomalies in complex systems. In this work, we take this approach a step further: beyond merely detecting anomalies, we aim to identify the optimal control strategy that restores the system to a safe state with minimal disruption. We frame this challenge as a counterfactual problem: given a Machine Learning model that classifies system states as either good or anomalous, our goal is to determine the minimal adjustment to the system's control variables (i.e., its current status) that is necessary to return it to the good state. To achieve this, we leverage a mathematical model that finds the optimal counterfactual solution while respecting system specific constraints. Notably, most counterfactual analysis in the literature focuses on individual cases where a person seeks to alter their status relative to a decision made by a classifier, such as for loan approval or medical diagnosis. Our work addresses a fundamentally different challenge: optimizing counterfactuals for a complex energy system, specifically an offshore wind turbine oil type transformer. This application not only advances counterfactual optimization in a new domain but also opens avenues for broader research in this area. Our tests on real world data provided by our industrial partner show that our methodology easily adapts to user preferences and brings savings in the order of 3 million euros per year in a typical farm.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{carrizosa2025counterfactual,
  title  = {Counterfactual optimization for fault prevention in complex wind energy systems},
  author = {Emilio Carrizosa and Martina Fischetti and Roshell Haaker and Juan Miguel Morales},
  year   = {2025},
  eprint = {2507.08849},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.08849v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.08849.svg)](https://codeofpaper.com/paper/2507.08849)

Discussion