โ†
AI for Energy & Utilities
Aware ยท M7 ยท lesson 7 of 19 ยท queued
Preview โ€” browse every lesson free. Enroll to mark lessons complete, open partner links and save your progress. Login & enroll โ†’
Forecasting, Classification, Optimization: Three Different AIs
๐Ÿ“–
now learning

Forecasting, Classification, Optimization: Three Different AIs

15 min

Three different engineers at the same utility can each tell you "we use AI" and mean three completely different things. The load forecaster means a gradient-boosted tree that predicts next-day demand from weather and calendar inputs. The distribution engineer means a convolutional neural network classifying aerial images of vegetation overhang. The transmission operator means a linear program solving for the minimum-congestion switching configuration in real time. All three are "AI." None of them work the same way, fail the same way, or require the same verification discipline. Conflating them is how bad procurement decisions get made, how implementations fail, and how energy professionals end up responsible for AI outputs they did not understand.

Why Three Different AIs

The energy industry runs on prediction, judgment, and optimization. Prediction: what will load be at 5 p.m. on July 15? Judgment: is this transformer at elevated failure risk? Optimization: what is the minimum-cost unit commitment for tomorrow? These three questions sound related but they require fundamentally different computational approaches. A forecasting model that excels at predicting load has an architecture completely unlike the classification model that flags transformer anomalies, which is in turn completely unlike the optimization engine that solves for the generation dispatch schedule.

Understanding the distinctions matters for several practical reasons. First, vendor evaluation: a vendor who says their platform does "AI forecasting and optimization" has just described two different systems under one product name, and you need to evaluate each on its own merits. Second, failure mode awareness: a forecasting model fails when its training data no longer represents the real world; a classification model fails when it encounters images that differ systematically from its training set; an optimization engine fails when its constraints are incomplete. Third, accountability: the energy professional accountable for a load forecast needs different verification skills than the professional accountable for an AI-generated switching recommendation. This lesson builds those distinctions.

Forecasting AI: Predicting Future Values

Forecasting AI takes historical data about a quantity and predicts its future values. In energy, the primary forecasting applications are load forecasting (predicting electricity demand), renewable generation forecasting (predicting wind and solar output), and price forecasting (predicting day-ahead and real-time market prices). Each of these shares the same structural approach.

The model is trained on a time series (hourly load values, for example), plus associated features: weather data (temperature, humidity, wind speed, cloud cover), calendar features (hour of day, day of week, month, holiday indicator), and increasingly, DER-related features (estimated behind-the-meter solar output, EV charging load patterns). The training process finds the mathematical relationship between these inputs and the target output (the load value at the next time step or the next day). Common architectures for utility load forecasting include gradient boosting (XGBoost, LightGBM), long short-term memory networks (LSTM, a type of recurrent neural network designed for time-series data), and, increasingly, transformer architectures (the same family that underlies large language models, adapted for numerical sequence data).

The accuracy benchmark you will hear most often is the Mean Absolute Percentage Error (MAPE). AI day-ahead load forecasting achieves roughly 1 to 2 percent MAPE on stable load regimes, compared to 3 to 5 percent for traditional ARIMA and regression approaches. That difference, on a utility serving several GW of peak load, translates into meaningfully better reserve procurement decisions. But the stability condition is critical: this performance assumes the load regime the model was trained on is still approximately the load regime it is forecasting. The data-center step-load problem (a 300 to 500 MW overnight interconnection that the model has never seen) is exactly the case where that assumption breaks.

Verifying a Forecasting Model

For a forecasting AI, the verification discipline centers on three questions. First, what is the model's holdout MAPE? Not training MAPE, which is the model's accuracy on data it was already trained on (inflated), but holdout MAPE, the model's accuracy on data it never saw during training. This is the relevant performance measure. Second, does the holdout period include any significant load-regime changes (new large customers, unusual weather events, economic disruptions)? A holdout period drawn only from calm, representative conditions will overstate the model's reliability in challenging situations. Third, when was the model last retrained, and what has changed in the service territory since then? A model trained eighteen months ago that has not been updated since a 400 MW data center interconnection is a model whose holdout MAPE no longer describes its current performance.

Classification AI: Sorting Situations into Categories

Classification AI takes an input (an image, a sensor reading, a text description, a set of operational parameters) and assigns it to one of a set of predefined categories. The model does not predict a number; it makes a yes/no or multi-category judgment. Utility applications of classification AI include vegetation and asset inspection (flagging aerial or drone images showing potential line contact risk or equipment damage), predictive maintenance (classifying transformer load and thermal patterns as normal, elevated risk, or high risk), fault classification (categorizing protective relay events by probable fault type), and customer segmentation (classifying customers by load profile type for demand response program design).

The classic example in distribution operations: an aerial inspection program captures hundreds of thousands of images of transmission and distribution lines. A human crew inspecting those images would take months. A classification model can pre-process the images in hours, flagging the subset that show potential vegetation contact, equipment damage, or deterioration. Crews then focus their physical inspection on the flagged subset, dramatically increasing throughput. The model does not make the maintenance decision; it triages the inspection workload.

Classification AI fails characteristically differently from forecasting AI. The most common failure mode is distribution shift: the images (or sensor patterns) in the deployment environment differ systematically from the images in the training dataset. A model trained on images from one geographic region may struggle with vegetation types, lighting conditions, or equipment configurations it did not see in training. A model trained on transformer monitoring data from one equipment vintage may not generalize to older equipment with different sensor signatures. Knowing the training data provenance is as important for evaluating a classification model as knowing the holdout MAPE is for evaluating a forecasting model.

Verifying a Classification Model

For a classification AI, the verification discipline centers on confusion matrix metrics. The confusion matrix describes four outcomes: true positives (correctly flagged problems), true negatives (correctly cleared non-problems), false positives (flagged items that turn out to be fine), and false negatives (missed real problems that were not flagged). In a safety-critical utility context, false negatives (missed vegetation contact risk, missed transformer failure precursors) are typically the more dangerous error. Ask the vendor: what is the false negative rate on your validation set, and how was that validation set constructed? If the validation set was drawn from the same sites as the training data, the false negative rate may be optimistic for a new deployment in a different geography or with different equipment.

Optimization AI: Finding the Best Option Within Constraints

Optimization AI takes a set of decision variables (which generators to commit, which transmission lines to switch, how to schedule battery dispatch) and a set of constraints (generator minimum and maximum output, N-1 reliability requirements, thermal limits, voltage bounds) and finds the combination of decision-variable settings that minimizes a cost function (total fuel cost, total congestion cost, total reserve procurement cost) while respecting all constraints. This is mathematically distinct from forecasting and classification: it is solving a problem, not predicting a value or classifying an input.

In utility operations, the most consequential optimization applications are: unit commitment and economic dispatch (determining which generators to run and at what output level for the next operating period), topology optimization (finding the transmission switching configuration that minimizes congestion while maintaining N-1 security), and DER dispatch optimization (scheduling battery charging and discharging, demand response events, and flexible load to minimize peak costs or provide grid services). Industry-estimated and vendor-cited ranges for optimization AI claim 5 to 15 percent CAPEX deferral and 1 to 3 percent OPEX improvement, derived from specific deployments; these are ranges to verify against your own system, not peer-reviewed benchmarks.

The specific failure mode of optimization AI is constraint incompleteness: the model optimizes perfectly within the constraints it was given, but the real-world system has additional constraints the model does not know about. A topology optimization tool might recommend a switching sequence that is technically valid from a power flow perspective but that violates a mutual-aid agreement with an adjacent balancing authority that lives in a contract, not in a power flow dataset. A DER dispatch optimizer might recommend discharging a battery during a peak event without knowing the battery is enrolled in a capacity market commitment with a different dispatch obligation. The optimization engine cannot optimize against constraints it was never given.

Verifying an Optimization Recommendation

For an optimization AI, the verification discipline centers on constraint completeness review. Before relying on an optimization tool's recommendations for real operational decisions, the accountable professional should walk through the complete set of real-world constraints the tool is solving against and ask: what is missing? Operating agreements with adjacent utilities? Market enrollment obligations for specific assets? Equipment limitations not captured in the static power flow model? The operator who acts on an optimization recommendation takes accountability for the decision; their job is to catch the constraints the model was not given.

A forecasting model fails when reality diverges from its training history. A classification model fails when deployment data differs from training data. An optimization model fails when the real-world constraint set is bigger than the constraint set the model was given. Know which type of AI you are using so you know which type of failure to watch for.

The Procurement Trap: Conflating the Three

The most expensive mistake in utility AI procurement is buying a platform described as "AI-powered forecasting and optimization" and not asking which specific type of AI is doing each job, how each was trained, what each one's documented accuracy is, and what constraints are built into the optimization layer.

Here is a realistic scenario: a utility issues an RFP for an "AI-based distribution automation platform." Five vendors respond. All five claim AI-powered outage prediction and restoration optimization. On closer examination: two vendors have classification models for outage prediction (using historical outage data and weather features) combined with rule-based restoration logic that they label "optimization." Two vendors have genuine optimization engines but trained on datasets from utility systems with different equipment configurations. One vendor has a full integrated platform that is genuinely optimization-based but is designed for large urban utilities and may not work well on a rural co-op's topology. None of these descriptions are clear from the vendor's marketing materials. The procurement team that does not know to ask the specific questions will buy the wrong system.

The specific questions to ask in each category: For forecasting: what is the holdout MAPE, over what time period, and does the holdout include any large load changes? For classification: what is the false negative rate, and does the training data match my equipment and geography? For optimization: what constraints does the optimization engine solve against, and how are constraint updates handled when operating agreements or market enrollments change?

A Worked Example: Three AIs for One Storm

A major ice storm is forecast to hit a utility's service territory on a Wednesday. Watch how three different types of AI each play a distinct role in the utility's response, and where each one's verification discipline differs.

Forecasting AI: Storm load prediction. The day before the storm, the load forecasting team runs their AI model with the weather service forecast as input. The model predicts a significant heating load surge as temperatures drop below freezing and significant load loss as ice accumulates on lines and causes outages. The team verifies the forecast against historical ice-storm events in their training data (checking whether those events are well-represented), looks at the uncertainty bands around the forecast, and flags to operations that the model's ice-storm training sample is small (only three major events in ten years). They submit the forecast with an explicit uncertainty note. The forecasting AI's job is done; the operator knows the limitations.

Classification AI: Pre-storm line inspection triage. Three days before the storm, the vegetation management team runs their aerial inspection classification model over the most recent drone imagery for the circuits most likely to be exposed to ice loading. The model flags 45 circuit segments as elevated vegetation-contact risk. The team has time to clear the three highest-priority segments before the storm hits. After the storm, the classification model's false negatives are reviewed: two of the segments it did not flag experienced outages that were consistent with vegetation contact. This feedback is used to update the training data for the next model version. The classification AI's job is done; it triaged the physical inspection work.

Optimization AI: Post-storm restoration sequencing. After the storm causes 120,000 customer outages, the system operator runs the restoration optimization tool to find the switching sequence that restores the most customers fastest while staying within N-1 security constraints on the damaged system. The tool produces a 45-step switching sequence. The operations center supervisor reviews the sequence against current crew locations, flags two steps that would require crews to access a road she knows is iced over and impassable, and modifies the sequence. She also checks whether the sequence respects the mutual-aid commitment to an adjacent utility whose crews are operating in the territory. The optimization engine did its job; the supervisor's domain knowledge caught two constraint gaps the engine was not given.

In each case, the AI played a specific role matched to its type, and the verification discipline was specific to that type. That is what this lesson is for.

Key Takeaways

  • Forecasting AI, classification AI, and optimization AI are structurally different tools that fail in different ways. Knowing which type you are using determines what you need to verify.
  • Forecasting AI predicts numerical values from historical patterns. Its characteristic failure is regime change: when the real world diverges from training history. Verify with holdout MAPE on a representative period including any large load changes.
  • Classification AI assigns inputs to categories. Its characteristic failure is distribution shift: when deployment data differs systematically from training data. Verify with confusion matrix metrics, especially false negative rate, and confirm training data provenance matches your equipment and geography.
  • Optimization AI finds the best decision within a set of constraints. Its characteristic failure is constraint incompleteness: the optimization is correct for the constraints it was given, but real-world constraints not in the model are violated. Verify by reviewing the complete constraint set for gaps against operating agreements, market commitments, and equipment limitations.
  • Vendor platforms often bundle multiple AI types under a single "AI-powered" label. Evaluate each component separately: forecasting accuracy with holdout MAPE, classification accuracy with false negative rate, optimization quality with constraint completeness review.
  • The AI accuracy claims (1 to 2 percent MAPE for forecasting, industry-estimated 5 to 15 percent CAPEX deferral and 1 to 3 percent OPEX improvement for optimization) apply to specific deployments with specific conditions and are vendor-cited ranges to verify, not peer-reviewed benchmarks. Verify them against your own system before they appear in a rate-case or procurement decision.
  • All three types of AI are decision-support tools. The load forecaster, the distribution engineer, and the transmission operator are each accountable for the decisions that follow from AI outputs, not the AI systems themselves.