I've build a simple transformer model with LTSpice. I works wonderful with the voltage, but I've got a problem with the current. On the secondary side i have a rectifier, current and voltage shape are ok. But on the primary side, I have a sinus shaped curren with a dc offset. Can somebody help me further ?
P.S. The transformer is build with two inductors (coupling=1) and two resistors for the resistance
P.S. The transformer is build with two inductors (coupling=1) and two resistors for the resistance