how trp rating is calculated