Energy storage operation in distribution room