The “PWM Switch” concept included in mode transitioning SPICE models.
Vatché Vorpérian introduced his PWM Switch model concept in the 90’s where he showed the invariant relationship between the a-c-p terminals when his model was dropped into numerous switching converters. Based on his work, several SPICE models have been made,however the current-mode control DCM case was never covered. Since Vorpérian did adopt two different configurations for the DCM and the CCM voltage-mode cases, the SPICE implementation, such as the PSpice one, uses mode transition switches and seriously complicates the model. Also, it does not exist any DCM-CCM for peak current-mode control which is one of the most popular implementations.