Integrated operation logic and platform technology development of grid-based distributed ESS