Analytical and numerical analysis of a solar thermoelectric system cooled by an active system