Stav dette: The switching function: analysis of power electronic circuits