Modeling phase formation on catalyst surfaces: Coke formation and suppression in hydrocarbon environments