Artificial Neural Networks and quadratic Response Surfaces for the functional failure analysis of a thermal-hydraulic passive system