Energy storage cabinet circuit design scheme