Dynamic electrothermal simulation of photovoltaic plants