ADAPT Model Code