Solar & Battery Optimization