Functional Failure Analysis of a Thermal-Hydraulic Passive System by Means of Line Sampling