Audio Transformer Emulation - Gyrator-Capacitor

I am currently working on implementing a gyrator-capacitor model in LTspice to simulate the saturation and hysteresis of magnetic cores in audio transformers.

In the attached files, you will find a library for modeling a gyrator-capacitor, along with single-ended and push-pull transformer models and examples.

I would greatly appreciate any help in improving the transformer models.

The parameters in xformer.lib were calibrated using a tool I developed. I have successfully implemented this model in a state-space simulation software I built, but I would like to adapt it for LTspice to validate its performance.

I am an enthusiast with a basic understanding of electrical engineering, and I would be grateful for your support.