To keep it easy...in general you derate for the following:
When conductors (more then 3) are in contact with each other;
When wires are in contact with each other;
When the ambient temp is excessive;
When distance is a factor; and,
When calculating fuse coord issues.
I think that is about it...