This document discusses the development of a Flow Assurance Tool (FAT1) for simulating flow through subsea pipelines. It acknowledges those who helped in developing the tool, including the advisor Dr. Robert Randall. The tool aims to predict flow patterns, pressures, velocities and temperatures for single-phase and two-phase flow, including through valves, pumps and chokes. It also aims to predict cooldown times during shutdown. The document outlines the development of a black oil flow model for single-phase and two-phase flow, heat transfer calculations, and cooldown time estimation. It then compares results from FAT1 to the commercial software PipeSIM to validate FAT1's accuracy.