Home photovoltaic power generation for self-use and energy storage