Abstract
In this paper, a day-ahead optimal control scheme is suggested for battery energy storage system (BESS) for its charging/discharing operations. This control scheme keeps the BESS at its mid of maximum and minimum energy storing capability and incorporates capacity loss as an another feature. The cost-to-go function is designed considering battery's constraints and constraint of peak shaving in the power distribution system. A solution considering recursive approach based on dynamic programming is proposed.