Version history
From program
From program
to library.
KERNEL began as a scheduling program with MATLAB forecasting. Version 2 rebuilt it as a library; 2.1 adds forecasting.
-
2.1.0-alpha.1Latest
Forecasting
Models built from a site's own history forecast building demand, solar, EV charging and HVAC load, each with a range. The forecasts feed the scheduler directly.
Release notes
- Forecasts for demand, PV, EV charging and HVAC, from 5-minute to hourly steps and up to 14 days ahead, with p10 to p90 ranges; holidays, weather and other inputs.
- Gradient-boosted quantile trees by default: the most accurate method in 17 of 18 benchmark cases (KERNEL 1.x sample, 11 public buildings and PV systems, workplace EV charging, a simulated house).
- The KERNEL 1.x forecast (day-type clustering, neural networks, blended by hour) ported, with an R9-compatible mode.
- EV: expected charging sessions (arrival, departure, energy) learned from past sessions. HVAC: the building's thermal model (R, C, heat gains) fitted from indoor temperature.
- Performance metrics (MAE, WAPE, skill, peak and energy errors, CRPS, coverage) and backtests that compare methods on your data.
- Forecast and schedule in one call: the forecast ranges become the scenarios of the stochastic plan.
- Train once, save the model file, forecast every day: from C, C++, Python, Java or the command line.
-
2.0.0-alpha.1
KERNEL 2: rebuilt as a library
A new engine for C, C++, Python and Java on Windows and Linux. Schedules are solved to a proven optimum by linear and mixed-integer programming instead of a particle swarm.
Release notes
- Batteries with separate efficiencies and an optional wear model (throughput, cycle depth, calendar ageing).
- EV charging with energy or state-of-charge targets, minimum charging power and vehicle-to-grid.
- HVAC on a thermal model of the building, with comfort schedules and weather-dependent heat-pump efficiency.
- Tariffs: time-of-use by default, flat, tiered, real-time, critical peak, demand charges and export; Ontario rates from 1 November 2026.
- Ancillary services: regulation, reserves and your own products; demand-response events.
- Deterministic or stochastic optimization with a risk measure (CVaR); HiGHS and SCIP built in, Gurobi and CPLEX when installed.
- Data and results in CSV, Excel or JSON at any time step; time zones and daylight saving handled.
Superseded by 2.1; download KERNEL 2.1 instead. -
1.3
KERNEL 1.x
The original KERNEL: a C++ scheduler that searched for schedules with a particle swarm, and MATLAB demand and PV forecasting (release R9, 2021), reached through a Java interface.
Not available for download. The documentation explains how to move from 1.x to 2.x.Migrating from 1.x ›