Illustration of working modes of home energy storage