Reduced order dynamic model of the flat-plate solar collector