Fluid-to-fluid modeling of supercritical water loops for stability analysis