Format Ribbon Function for CPM Model