How to calculate the temperature rise in a sealed enclosure

How to calculate the temperature rise in a sealed enclosure Often times electrical or electronic components are housed in sealed enclosures to prevent the ingress of water, dust or other