Take a look at how the Sunburst does it. You'll end up using the Sunburst's code anyway unless you want to write a whole new CVT simulation.
yeah i tried, works for a while then my inputs lock up and when i look in the log there is a lot of math errors? and the shift points are a bit weird, i tried adding it to the covet but it didn't shift properly
Covet has different engine stats, just like a normal transmission, shift points will be wrong with a different engine.