averaged switch modeling and simulation

6/18/2021