grid-stabilizing UPS system