A detailed thermal model of a parabolic trough collector receiver