On the use of thermalhydraulic codes to evaluate PTS situations