Press Start to Charge

Online scheduling of home charging for electric vehicles (EVs), played as a game. Each block is one EV: its width is the charging time it needs, and it must be placed between the EV's arrival and departure. Blocks arrive one at a time, in order of arrival, and you do not see the next one. Keep the load as flat as possible over the 24 hours: the score is the difference between the highest and the lowest load (Max-Min, lower is better).

Your game
Max-Min load (lower is better)- Peak- RMSE- Reward, Eq. (1)- EV- Moves left-
References on this instance

Keys: ←→ shift the block one slot (15 min) inside its window, ↓ or Space drop it (after 96 shifts it drops by itself).

The board: The block falls column by column: each slot it covers gains one unit of load. Red columns are outside the EV's window. A slot cannot exceed the capacity (red line at the top); if an EV has no place left, the game ends. The load already placed is grey, the EV dropped last is blue. On the four scenarios the scale is squeezed in the grey band under the capacity line, so that one unit is taller on the rest of the board. There is no undo: as in the online problem, a decision is final.

References: Online heuristics from Section 6.2 of the paper, on the same EVs; Show references draws the load each one ends the day with, and a click on a row shows or hides its line. Current practice starts charging on arrival. Greedy starts each EV where the sum of loads under the block is smallest (Chau et al. 2023). Row-filling takes the lowest row, then the leftmost start, where the block fits (Zhang et al. 2019). The α- and β-thresholds start an EV on arrival if fewer than X EVs charge in that slot, and use Row-filling otherwise; X is the mean load per slot (α) or the mean peak of the full-information optimum (β) on 100 simulated days.

Paper's reported averages (paper instances, not this one)