Modeling the Thermal Emission From Dust in Planetary Nebulae