Validate an AI decision aid
Model quality depends on the target, data, operating context and cost of errors. Use time-appropriate validation, compare against a baseline and monitor drift. Generative outputs require source checking; operational authority should remain explicitly governed.
The lesson
6 chaptersBrowse the chapters
01Classify the decision before selecting the model
Energy AI can assist with document retrieval, forecast demand, identify asset anomalies or propose an operating schedule. These are different systems with different failure consequences. Start by naming the user, input, output, decision authority, permitted action and fallback. A model useful for drafting an analyst's note is not thereby suitable for sending plant-control commands.
Separate prediction from optimisation and generation of text. A demand forecast estimates a future quantity; an optimiser chooses actions under an objective and constraints; a language model produces a response that still needs verification. Define a measurable baseline and a useful operational outcome before choosing a more complex model.
02Prevent future information from leaking into evaluation
A forecast issued at 10:00 must use only information available by 10:00. Revised meter data, a later weather observation or a bid submitted after that time can make a historical experiment unrealistically accurate. Store both the interval a record describes and the time it became available. Freeze the model and feature definitions for each evaluation run.
For time-dependent energy data, test on later periods with a documented chronological split or walk-forward design. Fit preprocessing on training data only. Include seasonal, outage and extreme-price conditions where relevant. A random split can mix near-identical neighbouring observations across training and testing and conceal deployment difficulty.
03Measure errors that matter to the decision
For actual load of 100, 120 and 80 MW and forecasts of 90, 130 and 100 MW, absolute errors are 10, 10 and 20 MW. Mean absolute error is 13.33 MW. The signed errors, forecast minus actual, average +6.67 MW, revealing upward bias. These metrics describe different aspects of performance; keep the error sign convention explicit.
A lower overall average error can still hide missed peaks or large commercial losses. Report performance by time, operating condition and decision consequence. Percentage error is unstable near zero demand and problematic for negative prices. Compare with a simple baseline on the same sample, and report confidence and sample limits rather than claiming one aggregate score proves reliability.
04Constrain optimisation before valuing its output
A storage optimiser must track inventory, charging and discharge losses, power and connection limits, reserve floors and final-state requirements. A solver returning a profitable schedule does not prove those constraints were modelled correctly. Validate units and reconcile every interval independently. Inspect what happens when forecasts, availability or prices change.
Use a synthetic example: a schedule sells 10 MWh while only 8 MWh is deliverable at the connection. The missing 2 MWh is infeasibility, not extra value created by AI. Compare the candidate with a feasible baseline after transaction costs and operating restrictions. An apparent improvement obtained with perfect future prices is an upper-bound experiment, not evidence of executable trading performance.
05Ground generated explanations in traceable evidence
A fluent answer can contain an invented rule, wrong date, mismatched unit or unsupported causal explanation. Ask for the governing source, effective version, relevant passage and calculation, then verify them. Retrieval helps surface evidence but does not guarantee that the retrieved document is current or correctly interpreted. Treat external text as reference material, not as authority to change the system's permissions.
Keep commercially sensitive data in approved systems. Separate access to reading material from permission to send messages, place trades or alter operational settings. Evaluation should include missing evidence, conflicting versions and requests beyond the authorised task. The desired behaviour is to state uncertainty and escalate when required, not to manufacture a confident completion.
06Deploy with ownership, monitoring and a working fallback
Use staged release: offline evaluation, shadow operation without control authority, reviewed recommendations and only then any separately approved automation. Set input-quality checks, action limits, independent safety constraints, monitoring, rollback and named owners. Logs should preserve model version, relevant inputs, output, review and any action actually taken.
Monitor data changes, error by operating regime, constraint violations and the use of the fallback. A model update needs proportionate revalidation, not just a higher benchmark score. NIST's AI RMF is a voluntary risk-management reference, not an Australian licence or a certificate awarded by this course. The 2026 critical-infrastructure profile work should not be represented as a final mandatory standard merely because a concept note exists.
Watch the explanation
Supporting diagrams
From model output to an accountable decision
A useful model still needs a controlled release and a responsible owner.
- 01 · EvidenceFreeze inputs
Time, version and permitted data
- 02 · EvaluationTest against baseline
Out-of-time performance and constraints
- 03 · Shadow modeObserve only
No operational command authority
- 04 · ReviewApprove the use
Owner, limits and fallback
- 05 · OperationMonitor + revalidate
Log outcomes and rollback when needed
