remove old thermal model codes