Zero Labs
Industry News / AI

Market-Aware Maintenance: Why AI Should Treat Asset Health as a Trading Decision

Source · Towards AI By John Laios

From the publisher’s feed, collected in the ZeroLabs newsroom.

Outage scheduling, condition-based maintenance, and component replacement are trading decisions in disguise — and they belong inside the AI decision system that does the trading. Most operations still hand them to a reliability optimizer that maximizes availability and runs blind to the market state.Two offshore wind operators. Same turbine model. Same fault.At 06:00, a condition-monitoring system on both fleets flags the same thing: a rising gearbox bearing temperature on one turbine, with a degradation trend consistent with a failure that is weeks out. Both operators run a maintenance optimizer. Both reach the same recommendation — defer the intervention to the next low-wind window, because low wind means little lost production, which means low cost.Operator A’s optimizer schedules the repair for Thursday: forecast near-calm, minimal generation foregone. A clean call by every reliability KPI.The problem is that the near-calm Thursday is also a system-wide low-renewable day across the bidding zone. Low wind everywhere means thin supply, which means day-ahead prices climbing toward scarcity levels. The few megawatt-hours that turbine would have produced are among the most valuable of the month. Operator A took the asset offline at the exact hour its uptime was worth the most — and the maintenance optimizer never saw it, because price was not in its objective.Operator B’s system made the opposite call. It looked past Thursday’s scarcity window and deferred the repair into a genuinely low-value period — a breezy, well-supplied afternoon where prices were soft, and the lost output was cheap. Its target was the cheapest hour in which to lose euros, which that week happened to fall on a windy afternoon.Same fault, same forecast, same crews. One system is scheduled around lost megawatt-hours; the other is scheduled around lost euros. The gap between them is a decision-architecture gap: two AI systems optimizing different objectives, neither aware of the other. Reliability engineering does its job in both cases — what differs is the objective that the architecture lets it serve.This article is about closing that gap.Picking Up Where the Last Post EndedThe previous post stayed on the market-facing side of the operation: capture price, spatial correlation, the joint distribution across a fleet. Every decision there was about how to sell what the assets produce, and why the dependence structure across a portfolio determines how much of the market price it actually captures.This post crosses to the other side of the operation — the side most trading desks treat as exogenous. Maintenance. Outage scheduling. Component replacement. The domain of reliability engineering, condition monitoring, and O&M planning, traditionally run by a different team, on a different system, against a different objective.The claim is that this division is an accident of how the org chart is drawn; the underlying problem is a single decision. When the value of uptime varies systematically with market state — and in high-renewable markets it varies enormously — the decision to take an asset offline is a trading decision. The core argument of this post is therefore an AI-architecture one: maintenance timing should be an action inside the same AI policy that does the trading, sharing its state and its objective. When a separate reliability system owns that decision and never sees the price, the operation loses money on exactly the days that matter most.The Two Objectives That Don’t TalkStart with what each system is actually optimizing.The reliability and O&M function optimizes availability and cost. Maintenance is a large line item — on the order of 20–25% of the levelized cost of onshore wind energy [1], and a larger share offshore, where access is harder and downtime longer [2]. The standard heuristic that falls out of this objective is intuitive: schedule maintenance when the wind is low, because that is when the least production is lost.The trading policy optimizes risk-adjusted revenue, which is production multiplied by price, summed over time and weighted by capture price.These two objectives coincide only under one condition: a flat price. The moment price varies with renewable output — which, by the merit-order effect, it always does — they diverge. Low-renewable hours are high-price hours. That is the mirror image of the capture-price erosion from the last post: when everyone produces, prices fall; when nobody produces, prices spike. So “minimize lost megawatt-hours” and “minimize lost revenue” can point in opposite directions, and the lowest-wind window can be the single worst window to be offline.Stated as objectives, the reliability optimizer minimizes the integral of lost production over the outage. The objective that captures revenue minimizes the integral of price times lost production — and price is precisely the quantity the trading policy already forecasts. The information needed to time the maintenance decision well already exists, one system over.Downtime Has a State-Dependent PriceThe unit cost of downtime moves with the state. It equals the opportunity cost of the energy you cannot sell, valued at the price you would have captured — and that price depends on the forecast price regime, your committed positions, your balancing exposure, and your portfolio’s capture price in that hour.Make it concrete. The same four-hour outage costs almost nothing in a €40/MWh midday solar-glut window. In a €180/MWh evening scarcity window it is expensive — and if you had already sold that turbine’s output day-ahead, taking it offline forgoes that revenue and forces you into the balancing market to buy back a position you can no longer deliver, at penalty prices whose sign depends on system direction, exactly the asymmetry described earlier in this series. The cost of the outage is foregone capture revenue stacked on top of an imbalance cost, and the imbalance cost is itself a function of market state.The trading policy sees something the reliability system cannot: a committed position that now has to be covered, with a price tag in euros for covering it. That euro figure is what the operator actually banks, so it is the figure the maintenance decision should turn on.This shows up empirically as well. In a simulated offshore wind farm, valuing downtime at hourly spot prices instead of a flat feed-in tariff changes which maintenance schedule comes out cheapest [3]. Studies of automated maintenance scheduling reach a related conclusion: wind speed alone is a poor scheduling signal, because the power lost to an outage can be small while the revenue lost runs large, depending on where the outage sits in the price curve [1]. Industry has built toward this too — a Vestas service-planning patent describes an engine that predicts both future wind and future energy price to time maintenance when lost revenue is minimized, subject to service-contract windows and crew constraints [4]. The direction of travel is clear. What most deployments still need is the coupling to the live trading state: committed positions, current forecasts, and real exposure, updated continuously.Condition-Based Maintenance Is Already a Policy ProblemHere is the part that should feel familiar from earlier in this series.Condition-based and predictive maintenance already frame the problem as sequential decision under uncertainty. The canonical formulation models a turbine as a multi-state deteriorating system whose true condition is only partially observed through noisy sensors, and solves for a maintenance policy — inspect, repair, replace, or keep running — using a partially observed Markov decision process, adapted to the weather and seasonal conditions that govern both failure and access [5]. Related work derives optimal repair strategies under stochastic weather, with downtime and lengthy offshore lead times built in [6].This is, structurally, the exact MDP-and-policy framing the whole series has been building. The maintenance community arrived at it independently, from the reliability side.The limitation is in what these models hold fixed: they treat the value of uptime as exogenous — a fixed cost coefficient, or at best a seasonal capacity factor. The policy adapts to weather and degradation, and the price of uptime stays a constant the model takes as given. The physics and the failure process drive the decision; the market enters only as a number someone set in advance.The AI-systems step is to make the value of uptime endogenous to market state. The remaining-useful-life estimate — the prognostic — tells you how long you can safely defer. The price-forecast distribution tells you what that deferral is worth. The optimal action couples the two: run a degrading asset through a high-value window and accept a marginally higher failure probability, or intervene early to guarantee availability ahead of a forecast scarcity period. This stays inside the existing model class and simply extends the state and the reward. The maintenance MDP and the trading MDP are the same MDP, solved so far on separate machines.The Coupled StateThe policy state from the earlier posts — committed positions, asset state, market state, forecast state, time state — gains one more component:Health state. Remaining-useful-life distributions per component, degradation trajectories, failure-mode probabilities, time since last service, and the warranty or service-contract windows that bound when work can happen.The action space expands accordingly. Alongside bid, trade, and dispatch, the policy can now inspect, defer, repair-now, replace, and derate. A derate — running a degrading turbine at reduced load to slow wear — is revealing precisely because it is simultaneously a maintenance action and a market action: it changes both the failure trajectory and the volume available to sell. In a siloed architecture, no single system can even represent it.The reward couples too. Revenue from production at capture price, minus the expected cost of failure — where the worst case is a catastrophic, unplanned failure during a scarcity period — minus repair cost, minus the imbalance cost of disrupting a committed position. Empirical O&M datasets show how skewed these failure costs are, with a handful of subsystems contributing a disproportionate share of unscheduled cost and a small fraction of events — the major replacements — carrying outsized cost [7], so a risk-adjusted policy should size against the tail directly, where the cost concentrates.What the AI System Needs to BecomeThe shift from siloed maintenance to market-aware maintenance changes four things in the underlying system.Shared state between health and trading. The prognostics system and the trading policy must read and write a common state representation. RUL estimates flow into the policy’s valuation of flexibility; committed positions and price forecasts flow into the maintenance decision. Today these live in separate systems with separate owners and separate databases. The integration is as much organizational as technical — but without it, neither system can see the variable it is missing.Price-weighted downtime cost. Replace the availability objective with an opportunity-cost objective evaluated against the full forecast price distribution. This is the most tractable upgrade available: feed the existing O&M optimizer the price forecast alongside the wind forecast, and the lowest-cost window moves to where value is genuinely lowest.RUL as a flexibility budget. Remaining useful life is the budget that says how long uptime can be pushed before failure risk dominates. The policy spends that budget on the highest-value hours. And because RUL comes as a distribution, prognostic uncertainty feeds directly into the risk-adjusted objective — wider RUL uncertainty argues for earlier intervention, in exactly the way that wider price uncertainty argued for holding flexibility two posts ago. The same principle, applied to a different state variable.Constraint-aware action selection. Real maintenance is hemmed in by constraints a naive policy ignores: weather windows for offshore access, crew and vessel availability, spare-parts lead times, OEM service-contract windows, and the opportunistic batching of several jobs into one visit to amortize mobilization cost. These are hard constraints on the action space, and the policy optimizes within them. Offshore, the access window may sit far from the low-value market window, and when the two conflict the policy weighs the cost of a worse price window against the cost of waiting for the next safe window to send a crew.Why This Is Hard in PracticeThere is an organizational dimension worth naming, because it is usually the binding constraint.The reliability function and the trading desk are different teams, with different P&Ls and different KPIs — availability percentage on one side, euros per megawatt-hour on the other. The availability KPI is the trap: a team measured on availability will, in complete good faith, take assets offline at the worst possible market moments, because its scorecard counts uptime as a fraction of time. The money lives in which hours that uptime covers.The contracts make it worse, in an instructive way. OEM service agreements carry availability guarantees, and the traditional form is time-based: it counts uptime as a fraction of time, so every hour of downtime is penalized equally regardless of how much energy — or revenue — that hour would have carried [8]. Energy-based, or production-based, guarantees are increasingly used and improve on this by weighting downtime by lost megawatt-hours. Even those stop at megawatt-hours: they give every megawatt-hour equal weight whatever hour it falls in, so the high-value hours earn no special protection. Contracts have progressed from counting time to counting volume; counting value is the step still ahead. A market-aware policy that trades availability for value will, at times, run ahead of what the contract rewards, so the incentive structure has to evolve alongside the AI system.Two further constraints are absolute. Maintenance carries safety and liability obligations that function as hard limits on the policy: the system optimizes within them and places no euro value on crossing them. And prognostic maturity varies widely — RUL distributions for many components are still coarse, and a policy fed unreliable health estimates will mistime interventions with confidence. Garbage RUL in, garbage timing out: the same lesson as the garbage-scenario warning from the post on forecast uncertainty, now applied to the health state.Where This Leaves the AssetMaintenance has always been modeled as a cost to minimize. The reframe is that uptime is an asset with a state-dependent price, and the decision to spend it or preserve it belongs in the same AI policy that decides how to trade. The reliability engineers already framed maintenance as a policy problem; the step that remains is to hand that policy the market’s objective and the variable it carries — the price the trading side has had all along.This is the same move the series has made at every level: take a decision that is being optimized locally — the bid, the forecast distribution, the portfolio, and now the wrench — and pull it into a system that reasons across the whole state.There is one more local optimization left to absorb. When prices fall to zero or go negative and a renewable asset is producing into a market that does not want the energy, the operator faces what looks like maintenance’s mirror image — deciding when to throttle a healthy, willing asset. Curtailment is usually framed as something done to an operator by the grid. In high-penetration markets, it is increasingly a decision the operator’s own policy should be making.Next in the series: “Curtailment Strategy in High-Penetration Renewable Markets” — why curtailment is increasingly a policy decision the operator owns, how negative prices reprice the choice to produce, and how an AI system should decide when to hold output back.This post is part of a series: AI Systems Architecture for Multi-Stage Electricity Markets.References[1] Yürüşen, N. Y., Rowley, P. N., Watson, S. J., & Melero, J. J. (2020). Automated wind turbine maintenance scheduling. Reliability Engineering & System Safety, 200, 106965.[2] Ren, Z., Verma, A. S., Li, Y., Teuwen, J. J. E., & Jiang, Z. (2021). Offshore wind turbine operations and maintenance: A state-of-the-art review. Renewable and Sustainable Energy Reviews, 144, 110886.[3] Walgern, J., Peters, L., & Madlener, R. (2017). Economic evaluation of maintenance strategies for offshore wind turbines based on condition monitoring systems. FCN Working Paper №8/2017, E.ON Energy Research Center, RWTH Aachen University.[4] Vestas Wind Systems A/S. (2014). Wind turbine maintenance optimizer. US Patent Application US 2014/0244328 A1.[5] Byon, E., & Ding, Y. (2010). Season-dependent condition-based maintenance for a wind turbine using a partially observed Markov decision process. IEEE Transactions on Power Systems, 25(4), 1823–1834.[6] Byon, E., Ntaimo, L., & Ding, Y. (2010). Optimal maintenance strategies for wind power systems under stochastic weather conditions. IEEE Transactions on Reliability, 59(2), 393–404.[7] Carroll, J., McDonald, A., & McMillan, D. (2016). Failure rate, repair time and unscheduled O&M cost analysis of offshore wind turbines. Wind Energy, 19(6), 1107–1119.[8] DNV GL (2017). Definitions of availability terms for the wind industry (white paper).Market-Aware Maintenance: Why AI Should Treat Asset Health as a Trading Decision was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.