Thermal modeling framework for Chandra X-ray Observatory