Two phase flow cooling loops are an answer to the new thermal requirements established by future space missions which tend to larger size and higher power demand. The software package TOPLOSS simulates the thermal, fluid- and thermodynamic behavior of two and single phase cooling loops of arbitrary geometry including all relevant components. TOPLOSS structure is modular, the different loop components are modeled in separate adaptable subroutines. The fluid properties module is an improved version of GASP, a NASA-developed fluid property program. TOPLOSS is linked to the thermal network analyzer STNDA which is used to manage the thermal boundaries for the loop. An example illustrates TOPLOSS performance.