⚙ Live Pipeline

The EngineFour layers. One decision.

QEFO-X runs a four-layer intelligence pipeline. Every panel below is powered by the same server functions the live dashboard consumes.

L1 · Streaming ETL · Numpy
Data Ingestion
DataIngestion()
Inputs
  • Energy telemetry (kWh)
  • Market feeds ($/MWh)
  • Weather (temp, irradiance)
  • Compute load (GPU %)
Outputs
  • Normalised feature matrix
L2 · Ridge regression · Seasonal features
AI Forecasting
AIForecasting()
Inputs
  • Feature matrix
  • Historical demand
Outputs
  • Demand forecast
  • Anomaly z-scores
L3 · QAOA (Qiskit) · Classical fallback
Quantum Optimization
QuantumOptimization()
Inputs
  • Source costs
  • Capacity constraints
Outputs
  • Grid allocation vector
  • QAOA objective
L4 · Value-at-Risk · Portfolio math
Financial Modeling
FinancialModeling()
Inputs
  • Returns
  • Positions
  • Prices
Outputs
  • VaR 95%
  • Exposure
  • Hedge ratios

Live telemetry

Pulled from the running engine server functions.

5.0s
L2 · forecastDemand
QRC + Ridge readout
95.0 MW peak
QRC accuracy 94% · LSTM 79%
spike +15% · sentiment 0.00
L3 · optimizeGrid
95.0 MW · shed
QAOA · 127-qubit sim profile · reps=2
Solar Farm A32%
Wind Cluster B24%
Battery Bank18%
Grid Import14%
Load Shed12%
L4 · riskScore
VaR 95%
$2.60M
Volatility (20d σ)
25.2%
Risk index
40/100
NA-East
35%
EU-West
44%
APAC
56%
LATAM
41%
Cycle history · predicted peak MW
Collecting telemetry cycles…
/api/stream/telemetry · SSE
Opening EventSource…
Connecting
Waiting for first frame…
Autonomous Layer

Arbitrage Agent · Safety Interlock

AI market strategy proposed by the arbitrage agent, then filtered through the deterministic classical interlock before dispatch.

SSE connecting
Agent parameters
AI agent decision
Battery
Throttle
0%
Spot
$
DC spike
+%
Classical interlock
CLEARED
Executable battery
Executable throttle
0%
Interlock cleared
false
Override triggered
false
QPU · dwaveHardwareCheck
Pegasus Ising probe
h = [-1, -1] · J = +2 · num_reads = 100 · timeout 8000 ms
100
8000
Idle. Click Run to submit a small Ising problem to a Pegasus-topology QPU via your Leap account.