Skip to content

AI & ML Overview

Energy Copilot demonstrates the full Databricks AI stack working together:

  1. Foundation Model API (FMAPI): Claude Sonnet 4.5 routed through Databricks, keeping API calls within the network perimeter
  2. MLflow Model Registry: ML models trained, tracked, versioned, and deployed via MLflow
  3. Model Serving: inference endpoints for real-time model predictions
  4. Genie AI/BI: natural language SQL over Gold Delta tables via 16 Genie spaces
  5. Unity Catalog SQL Functions: UC functions provide the AI agent with structured access to data
  6. Vector Search (RAG): AEMO market rules indexed for semantic retrieval by the copilot

AI Market Intelligence Copilot

Claude Sonnet 4.5 with 58 domain-specific tools. Conversational interface for market analysis, trading, DNSP intelligence, and operational queries. Streams responses via SSE.

Genie AI/BI Spaces

16 Genie spaces covering NEM prices, generation, interconnectors, FCAS, gas, WEM, settlement, DNSP compliance, assets, DER, network planning, and workforce. Natural language → SQL → results.

NEM Price & Demand Forecasting

XGBoost multi-horizon forecasting. 5 regions, horizons from 1 to 48 hours. Demand, weather, generation, and constraint features. Outputs P10/P50/P90 confidence bounds and spike probability.

Asset Failure Prediction

XGBoost classifier. Scores all DNSP network assets on failure probability within 12 months. Feature importances and health index surfaced in Asset Intelligence Hub.

Vegetation Risk ML

XGBoost classifier for network span vegetation risk. BMO zone scoring and newly-flagged alert feed for AusNet bushfire mitigation program.

Workforce Demand Forecasting

Prophet time-series model. 18-month horizon. Bushfire seasonality modelled explicitly. Skills gap output for DNSP workforce planners.

STPIS Anomaly Detection

Isolation Forest. 6-DNSP peer group benchmarking for SAIDI/SAIFI/MAIFI anomalies. Surfaced in STPIS Calculator page.

AIO Draft Generator

Claude Sonnet 4.5 drafts AIO submission sections from structured DNSP performance data via FMAPI.

ModelAlgorithmPurposeSurfaces In
NEM Price ForecastXGBoostSpot price prediction 1–48 hr, P10/P50/P90 + spike probabilityCopilot query_price_forecasts, price forecast dashboard
NEM Demand ForecastProphetDemand MW with confidence bounds, 1–48 hr horizonCopilot query_demand_forecasts, demand dashboard
Generation ForecastXGBoostPer-fuel-type generation prediction by regiongold.generation_forecasts, generation dashboard
Asset Failure PredictionXGBoostFailure probability within 12 months, health index, feature importancesDNSP Asset Intelligence Hub, Copilot get_asset_health
Vegetation Risk ClassifierXGBoostSpan-level bushfire/vegetation risk score + confidenceDNSP Vegetation Risk Hub
Workforce Demand ForecastProphet18-month skills demand forecast with bushfire seasonalityDNSP Workforce Analytics Hub
STPIS Anomaly DetectionIsolation ForestAbnormal STPIS performance vs 6-DNSP peer groupDNSP STPIS Calculator
Constraint Binding PredictionXGBoostProbability transmission constraints bind by hour/region, 4–48 hrCopilot predict_constraints
Battery Dispatch OptimisationOptimisationCharge/discharge schedule maximising arbitrage revenue over 24 hrCopilot optimize_battery
Bid OptimisationML (ML_OPTIMIZED)Optimal 10-band generator bid; actual vs ML-optimal revenue comparisonCopilot optimize_bid, compare_bid_vs_optimal

All ML models are tracked in MLflow experiments within Unity Catalog:

ExperimentModel TypeTarget VariableRegions
price_forecastXGBoostNEM spot priceAll 5 NEM
demand_forecastProphetOperational demand MWAll 5 NEM
wind_forecastXGBoostWind generation MWAll 5 NEM
solar_forecastXGBoostSolar generation MWAll 5 NEM
anomaly_detectionIsolation ForestSTPIS anomalyNEM-wide

Each experiment tracks:

  • Training hyperparameters
  • Evaluation metrics (MAE, MAPE, AUC, F1)
  • Feature importances
  • Chronological train/val/test split boundaries (stored as tags)
  • Model artifacts and registered model alias

All tools are available to Claude Sonnet 4.5 via FMAPI function calling. The copilot selects and chains tools autonomously based on the user’s question.

ToolDescription
query_spot_pricesLive NEM spot prices (RRP), demand, and available generation per region
query_generation_mixGeneration MW by fuel type, capacity factor, and emissions intensity
query_interconnectorsInterstate flows, export/import limits, and congestion status
query_weatherTemperature, wind speed, solar radiation, cloud cover for all NEM regions
get_fcas_summaryAll 8 FCAS service prices, total cost, top providers, regional requirements
get_gas_priceSTTM hub prices (Sydney/Adelaide/Brisbane) and DWGM Victorian market
ToolDescription
query_price_forecastsML price forecast with P10/P50/P90 and spike probability, 1–48 hr
query_demand_forecastsML demand forecast MW with confidence bounds
get_constraint_forecastConstraint binding heatmap by hour-of-day and day-of-week
predict_constraintsWhich transmission constraints bind in next 4–48 hrs and at what probability
get_trading_signalsActive algo signals: FORWARD_MISPRICING, SPOT_ARBITRAGE, CONSTRAINT_PLAY, WEATHER_SHIFT, DEMAND_SURGE, VOLATILITY_REGIME, RENEWABLE_SHORTFALL, PEAK_SPREAD
scan_trading_opportunitiesFresh cross-region market scan, ranked by expected profit with rationale
ToolDescription
explain_anomalyRoot cause analysis of price spikes / negative prices — generation changes, constraints, weather, congestion
generate_market_briefDaily/weekly/flash NEM brief — overnight prices, key events, renewable share, weather watch
ToolDescription
create_tradeParse natural language into a structured trade: “50MW peak swap VIC Q3 at $85”
get_portfolio_positionNet MW long/short by region and quarter
get_forward_curveMonthly forward prices bootstrapped from ASX futures with seasonal shaping
run_mtm_valuationMark-to-market all trades against forward curves
get_portfolio_pnlP&L attribution: price effect, volume effect, new trades, time decay
explain_pnl_moveExplain what drove P&L change on a specific date
get_risk_metricsVaR (95%/99%), Greeks (delta/gamma/vega/theta), 1-day and 10-day horizons
get_credit_exposureCounterparty exposure, PFE, credit utilisation, WARNING/CRITICAL alerts
value_ppaMonte Carlo PPA valuation — NPV P10/P50/P90, breakeven strike, annual cashflows
value_bundled_ppaPPA + LGC bundled valuation — energy NPV, LGC NPV, bundled premium
ToolDescription
run_stress_testPredefined scenarios: SA heatwave (+300%), wind drought (-80%), 2GW coal trip, QNI failure
portfolio_what_ifNatural language what-if: “What if SA prices spike 50%?”
reverse_stress_testFind which scenarios produce a specified target loss
ToolDescription
optimize_bidML-optimised 10-band bid for a named generator
suggest_rebidRebid recommendation based on price change, constraint, outage, or wind shift
get_bid_complianceConformance rate, penalty count, compliance grade A/B/C
compare_bid_vs_optimalActual vs ML-optimal revenue uplift analysis
ToolDescription
optimize_battery24 hr charge/discharge schedule for Hornsdale, Victorian Big Battery, Bomen
get_spark_spreadSpark spread, clean spark spread, and carbon cost by region
ToolDescription
get_settlement_summaryAEMO vs internal reconciliation, variance, FCAS settlement, inter-regional residues
get_settlement_runsSettlement run list with PRELIM/FINAL/R1–R3 status and amounts
get_settlement_trueupMaterial variance analysis across run versions
get_settlement_finance_summaryGL journal totals, accruals, settlement statement
ToolDescription
get_compliance_statusNER obligations, conformance rate, overdue items, upcoming deadlines
get_lgc_positionLGC, ACCU, STC holdings, balances, and market prices
get_carbon_exposureEmissions by fuel type, annual tCO2, estimated cost
search_market_rulesSemantic search over AEMO NER, market procedures, and regulatory documents
generate_reportDAILY_RISK, WEEKLY_MARKET, MONTHLY_COMPLIANCE, QUARTERLY_ENVIRONMENTAL, AD_HOC
ToolDescription
create_alert_ruleSet PRICE_THRESHOLD / DEMAND_SURGE / FCAS_PRICE / FORECAST_SPIKE alert, evaluated every 5 min
ToolDescription
get_wem_priceWestern Australian Electricity Market balancing prices and summary
get_constraint_analysisNetwork constraint register, breach years, augmentation NPV
ToolDescription
query_dnsp_summaryOverall DNSP performance: AER compliance, BMP, connections, capex, rural, tariffs
query_aer_complianceSTPIS scores, RIN status, revenue cap utilisation, regulatory milestones
query_bushfire_statusAusNet BMP asset compliance, ELC inspections, BMO zone risk, capex vs allowance
query_connections_queueNER queue: pending applications, timely connections rate, overdue, large customer pipeline
get_asset_healthHealth index, risk factors, failure probability for a named asset
get_network_loadingMW loading, utilisation %, DER output by zone substation
get_reliability_metricsSAIDI/SAIFI/CAIDI vs AER regulatory targets by region
ToolDescription
get_outage_summaryActive outages, causes, and affected customers by region
get_hosting_capacityAvailable DER hosting capacity kW and limiting constraint by feeder
get_curtailment_analysisCurtailed MWh, affected customers, reasons, and financial impact
forecast_ev_impactPeak load delta, assets at risk, upgrade requirements by EV scenario and year
get_vpp_performanceVPP dispatch target vs actual response, accuracy, and revenue
get_der_fleetSolar MW, battery MW/MWh, EV chargers by zone substation
User Question (Copilot)
Claude Sonnet 4.5 (FMAPI)
├──→ query_price_forecasts ──→ Model Serving (XGBoost)
│ │
│ ▼
├──→ query_generation_mix ──→ Gold Table (Lakebase)
├──→ query_aer_compliance ──→ Gold Table (SQL Warehouse)
├──→ get_asset_health ──→ Gold Table + Model Serving
└──→ search_market_rules ──→ Vector Search Index

The copilot’s agentic loop orchestrates calls to multiple tools in sequence or parallel, synthesising the results into a coherent, contextualised response.

Both the Copilot and Genie spaces provide natural language access to data, but serve different purposes:

FeatureAI CopilotGenie AI/BI
InterfaceConversational chatDirect question → SQL → result
Access to real-time dataYes (via tool calls)Yes (direct table access)
Custom tool callingYes (58 tools)No
Multi-step reasoningYes (agentic loop)Limited
ML model accessYesNo
Best forComplex analysis, trading actions, narrativesDirect data queries, ad hoc SQL
SQL visibilityNo (abstracted)Yes (show SQL)