Current-programmed mode (CPM), i.e. Peak Current Mode modulator switching model. Generates PWM signal based on sensed current signal vs and control current signal vc. Also outputs the artificial ramp signal.
Model taken from EM01 and EMA16.