magnetic-components

Model transformers, saturable inductors, and core losses in a C++ simulator.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/lgili/skillex --skill magnetic-components
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: magnetic-components
Source: https://github.com/lgili/skillex/tree/main/skills/magnetic-components
Command: npx skills add https://github.com/lgili/skillex --skill magnetic-components

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Non-ideal magnetic component modeling enables accurate simulation of transformers, coupled inductors, saturation effects, and core losses in a C++ power-electronics simulator, replacing simplistic ideal models.

Core Features & Use Cases

  • Model leakage inductances, magnetizing inductance, and transformer equivalent circuits for precise LLC and flyback analyses.
  • Implement nonlinear B-H behavior and saturation-aware inductance updates to maintain stable time-domain simulation.
  • Provide MNA stamp templates and reference materials (transformer-models.md, core-saturation.md, and coupled-inductor-stamps.md) to accelerate integration and validation.

Quick Start

Start by loading magnetic-components to begin integrating non-ideal magnetic elements into your simulator.

Frequently Asked Questions about magnetic-components

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I model transformer leakage and saturation in a C++ power electronics simulator?▼

Non-ideal magnetic component modeling calculates referred parameters and implements nonlinear B-H behavior to simulate transformer leakage and saturation in a C++ power electronics simulator for LLC and flyback topologies.

What is the best way to generate MNA stamps for coupled inductors?▼

The best way to generate MNA stamps for coupled inductors is using provided reference templates that calculate referred parameters and validate volt-second balance for accurate integration into your circuit simulator.

How do you estimate core and copper losses for power electronics topologies like flyback converters?▼

Estimating core and copper losses for flyback converters involves applying non-ideal magnetic modeling to calculate transformer equivalent circuits and analyze saturation effects, yielding accurate loss projections for power electronics contexts.

Can I use non-ideal magnetic models for LLC converter analysis?▼

Yes, non-ideal magnetic models support LLC converter analysis by providing transformer equivalent circuits that accurately capture leakage inductances and magnetizing inductance for precise time-domain simulation.

Why do I need saturation-aware inductance updates for time-domain simulation?▼

Saturation-aware inductance updates are needed for time-domain simulation to implement nonlinear B-H behavior correctly, maintaining simulation stability when magnetic components enter saturation during switching transients.