Advanced analysis of an ammonia loop heat pipe for space applications. Part I: the numerical model