Day-Ahead Optimization using Dynamic Programming (15-min Resolution)
The AI Controller solves the Bellman Equation to find the optimal policy $\pi^*(x)$ that minimizes cost over the horizon:
Subject to the Power Balance Equation:
Where $u_t$ is the battery action and $x_t$ is the State of Charge (SoC).