Modeling of the Thermal Output of a Flat Plate Solar Collector