A method of testing for rating solar collectors based on thermal performance