Energy storage pcs circuit principle