Thermal modeling of coring and drilling operations for solar system exploration applications