CVPM model code