Operational Optimization of a Hybrid Energy Storage System with Artificial Intelligence