Statistic Determination of Storage Capacity for Photovoltaic Energy Imbalance Mitigation