Hi,
I need support for the simulation of transformer. I want to simulate the transformer “Transformer_1P_SS” from KICAD with following model but receive a failure.
Your resistors Rp, Rs1, Rs2 are parallel to the coils and thus are short circuiting the coils. They have to be in series to the coils (which requires an extra node for each coil)!
ngspice requires something like
K1 L1 L2 1
More than two Ls are not supported.
So you have to write
K1 L1 L2 1
K2 L1 L3 1
K3 L2 L3 1
to catch every dependency. This should be fixed in ngspice (but is not yet available).