Factory self-use photovoltaic energy storage