This can be complicated due to wroding in the FCTM and Systems Manuals, but I would suggest you first read the section on fixed derates and assumed temp derates. There was a good thread on this subject a few months ago, pretty much exhausted the topic.