Saturable Transformer

Dear all, good morning.
I need some help.
I’m developing a study of current transformer (CT) saturation in the face of networks with harmonic content for my master’s thesis.

What’s happening is that I’m trying to implement the circuit with a saturable transformer, and I’m getting an error when running the circuit using a current source in the primary.

In fact, I can only analyse the circuit with a voltage source.
Could someone please help me with this error?

FONTES HARMÓNICAS TENSÃO - CORRENTE3.plecs (33.1 KB)

Please see this FAQ section on the state source dependency error message. You can also find additional information in the PLECS online help under Using PLECS + Error Messages + State source dependency. Note in that section of the manual there are example models showing how to resolve the state-source dependency error.

Regarding your model, note that you can use a Sine Wave, Sum, and Controlled Current source to greatly simplify your model. The example below shows the setup for the first three harmonics.

image