of course, you gotta build it, unless you mean to model it, then you need the overall structure model - for each switching source and pwm or firing circuits... .like an integrator is a capacitor but represented as 1/s -unless you want to use somebody elses work the above link should work great