Flexible installation for optimum yields on flat roofs