Implemented thermal constraints