My idea was to use a low frequency PWM, probably about 100Hz. That would also allow the thermostats to operate safely.Yesssss. Any suggestions ?
In order to regulate the panel voltage the feedback has to be the opposite way round to a normal switched-mode PWM, so you need an old-fashioned voltage-mode controller which gives access to both inputs of the error amplifier - such as a SG3525.