Performance of a flat plate solar energy collector