Integration of photovoltaic generation into a large generating system