Dynamic electrothermal modeling of solar cells and modules