condition added ( $calcTj should be less than $tjRated of part )