Taken from here: http://ltwiki.org/?title=Transformers
I am having trouble understanding how the Chan core is actually linking in with the coils.
Does anyone understand what the SPICE code is doing here? Especially in the second half? It may just be lack of familiarity with the syntax or keywords being used.
Xp and Xs are supposed to be coils so I only expect two terminals, but there are three terminals and the Chan core mysteriously links to this third terminal.
But if that is the case then what are the actual Xs and Xp components in the simulation and how is it being interpreted by LTSpice? It seems like it has something to do with the "Winding" keyword but I haven't been able to find out what that is or how it works.
Is the third terminal special terminal activated by the "Winding" keyword that is meant specifically to determine the core? But if it is, then why does the core have two terminals (the other of which is permanently connected to GND via the paramterization in the first half of the code) since there's no current flowing through the core?