I think , in AC/DC .. simulation time also to > 100ms order ..
like start Up ..
in real system maybe > 1~2 sec ..
for speed up simulation time can use initial condition , skip start up
another use other simulation tool . like adit nanosim
but , adit maybe ignore tranformer spike . some pwm simulation
adit will simulation fail by "spike"
by the wy , how to write tranformer ? some tranformer have Gap .
switch mode power supplies
spice simulation & practical designs / christophe P.BASSO
=> good textbook
I feel the the loop mode is hard, transformer mode and the simulation is hard,I desiged the AC/DC chips, I divided the starting up and normal work for simulation, the transformer need design used the power sourse.