Platform Architecture
How ecoLens works end-to-end — from external energy APIs to the dashboard in front of you.
End-to-end pipeline
From external energy APIs to the dashboard in front of you — decoupled, event-driven, fully auditable.
DuckDB for fast local processingnew_data event to RabbitMQnew_data event triggers dbt flowraw.* schema (untouched)stg → int → mart layersWhat does the platform answer?CORE QUESTIONS
Probabilistic demand forecast — P10 (conservative), P50 (expected), P90 (peak). Decomposed by NEM region (NSW1, QLD1, VIC1, SA1, TAS1) and WEM.
Forecast contribution of coal, gas, wind, solar, hydro, and battery. Translated into carbon intensity (gCO₂e/kWh) and total emissions.
Latency budget (typical)
Why this architecture works
Decoupled, event-driven, auditable.
Ingestion never blocks on warehousing. If the warehouse is rebuilding, new data still keeps flowing. The event bus (RabbitMQ) absorbs the dependency.
Forecasts are updated every 5 min. Anomalies are flagged within seconds of arrival. The dashboard cache is 30-60 s — fresh enough to act on.
Raw data is stored exactly as received. dbt models are version-controlled in git. Every transformation has lineage back to the source.