Skip to content

Reporting

The Reporting module consolidates Energy Copilot’s automated and on-demand reporting capabilities. From daily AI-generated market summaries to pipeline health dashboards and regulatory submission packs, the Reporting module reduces manual reporting effort and ensures consistent output quality.

The Daily Market Summary is an extended version of the NEM Market Brief, enhanced with Middle Office and Back Office data:

  • Market section: yesterday’s prices, generation, interconnectors, FCAS
  • Portfolio section: MtM change, any limit breaches, significant trade activity
  • Settlement section: any PRELIM/FINAL run publications, true-up movements
  • Compliance section: obligations due in the next 7 days
  • Outlook: weather forecast and risk indicators for the next 48 hours

Generated by Claude Sonnet 4.5 at 07:00 AEST daily, stored in gold.daily_market_summary, and distributed via email (configurable recipients).

Terminal window
# Retrieve today's report
GET /api/reporting/daily-summary?date=2025-03-21
# Generate report on-demand for a specific date
POST /api/reporting/daily-summary/generate
{
"date": "2025-03-20",
"include_portfolio": true,
"include_settlement": true
}

Users can export any dashboard as a static snapshot:

  • PNG image: full dashboard screenshot (for email or presentations)
  • PDF report: formatted multi-page report with branding
  • CSV data: underlying data tables in the dashboard
  • JSON: raw API data for integration with other systems

The snapshot export is available via the download icon on any dashboard page or via the API:

Terminal window
POST /api/reporting/snapshots
{
"dashboard_path": "/front-office/live-market",
"format": "pdf",
"date_range": {"start": "2025-03-14", "end": "2025-03-21"}
}

The Data Quality Report (/back-office/reporting/data-quality) monitors the health of all 30 pipeline jobs and the completeness of Gold tables:

MetricDescriptionTarget
Pipeline success rate% of pipeline runs completing without error>99%
Data freshnessAge of latest record in each Gold table<15 min (prices), <2h (others)
Row completeness% of expected rows present (vs AEMO reference)>99.5%
Null rate% of null values in key columns<0.1%
Duplicate rate% duplicate rows after deduplication<0.01%

Generated by pipelines/08_data_quality_report.py and stored in gold.data_quality_metrics.

-- Latest data quality report
SELECT
pipeline_name,
table_name,
latest_record_timestamp,
DATEDIFF_MINUTE(latest_record_timestamp, CURRENT_TIMESTAMP()) AS minutes_stale,
expected_rows_24h,
actual_rows_24h,
completeness_pct,
null_rate_pct,
status
FROM energy_copilot.gold.data_quality_metrics
WHERE report_date = CURRENT_DATE()
ORDER BY status DESC, minutes_stale DESC;

The DNSP Intelligence module generates AER RIN submission packs — see DNSP → DAPR Assembly for details. For non-DNSP participants, the Back Office provides:

  • AER Retail Report: formatted data extract for the annual AER retail market report
  • Market Fee Declaration: AEMO annual market fee participation declaration
  • RET Compliance Report: LGC surrender evidence for Clean Energy Regulator

Reports can be scheduled for automatic distribution:

Terminal window
POST /api/reporting/schedules
{
"report_type": "daily_summary",
"schedule": "0 7 * * 1-5", // 7am AEST, Monday-Friday
"recipients": ["trading@mycompany.com", "risk@mycompany.com"],
"format": "pdf",
"include_sections": ["market", "portfolio", "compliance"]
}
Terminal window
# List available reports
GET /api/reporting/types
# Get scheduled reports
GET /api/reporting/schedules
# Data quality metrics
GET /api/reporting/data-quality?date=2025-03-21
# Pipeline run history
GET /api/reporting/pipeline-runs?pipeline=nemweb_ingest&days=7
# Export report
POST /api/reporting/export
{
"report_id": "daily_summary_2025-03-21",
"format": "pdf"
}