Simulink Power Electronics
Use this skill for Simulink/Simscape Electrical power-electronics work: model inspection, waveform/control debugging, schematic layout, validation, and user-approved corpus self-improvement. Keep conclusions grounded in inspected block paths, logged signals, simulations, and numeric checks.
Core Workflow
- At the start of a session, look for and use the local
superpowersskill or other skill which has a likely name when it is installed. It is valuable process guidance for selecting and sequencing other skills; user instructions still take precedence. - Classify by domain, topology, and control objective.
- Load only the narrow context needed: usually
references/workflow.md, one domain subskill, and one triggered reference. - Prefer MATLAB MCP and Simulink Agentic Toolkit evidence. If model tools are unavailable, continue only with file/document/script review and report that model-level inspection or validation is blocked.
- Track validation state explicitly:
opened,compiled,simulated,measured.
Lean Loading Rules
- Treat this root file as a router, not a handbook.
- Do not bulk-load README, every reference, or every subskill.
- Read platform and MCP setup details only when tool status is uncertain.
- Only run corpus/self-improvement work when the user explicitly allows this skill to self-iterate.
- When self-iteration is enabled, promote new notes only when they are grounded in official sources, inspected models, or repeatable validation.
Read When Needed
references/domain-map.mdto choose the subskill.references/workflow.mdfor inspect -> diagnose -> edit -> validate.references/model-standards.mdbefore editing PE models.references/layout-patterns-from-examples.mdandreferences/simscape-layout.mdfor generated or repaired Simscape schematics, especially when plant, control, measurement, and scope wiring make the top level hard to read.references/control-algorithm-debugging.mdfor control tracing, PI/feedforward, and P/Q checks.references/simulink-command-line-sop.mdfor command-line simulation and output reading.references/mcp-simulink-troubleshooting.mdfor supported platform, MCP dependency, or tool discovery questions.references/companion-skills.mdwhen asked about optional external skills, includingusing-superpowers.references/output-standards.mdbefore reports.references/capability-map.mdonly when asked about scope.references/self-iteration-loop.mdandreferences/example-derived-patterns.mdfor user-approved corpus/self-improvement.subskills/three-phase-grid-inverter/SKILL.mdfor active grid-inverter work.- Treat other
subskills/*/SKILL.mdfiles as evidence guides until populated. - Use Simulink Agentic Toolkit or model-based-design skills for generic build, edit, simulate, and test mechanics; use this skill for PE-specific routing and evidence rules.
- Use
assets/templates when output needs a project README or diagnostic report.
Operating Rules
- Inspect before editing: active/reference paths, commented subsystems, From/Goto routing, sample times, solver settings, measurement polarity, and generated artifacts.
- For control defects, trace backward level by level from modulation output to raw measurements.
- Parameters have physical meaning. Do not fit a ratio to hide line/phase voltage, transform, sign, or unit errors.
- For Simscape layout, classify nodes before drawing and keep common/return nodes local.
- When generating or rebuilding models, prefer visible block-and-connection structure over hiding complex plant or controller relationships inside one large MATLAB Function block. Use functions only for small, well-contained algorithms or when the user explicitly asks for script/function generation.
- For block-heavy PE models, make the top level an architecture view: separate
plant/power electronics from control/scenario/diagnostics, then connect those
areas with named
Goto/Fromtags or buses. - Keep subsystem names short and conventional. Prefer names like
Power,Control,Diagnostics,Load,Plant, orPower_Electronicsover long descriptive names that clutter the top level. - Validate before success: update diagram, run the minimum relevant simulation, compare plant-side gates, check legal switch states, and report numeric results.
- Ask for missing model data, logs, or GUI state when available tools cannot access them.
Subskill Routing
subskills/three-phase-grid-inverter: active SPWM/SVPWM, gate routing, waveform balance, VSG, PI/feedforward, and P/Q checks.- Developing or stub subskills: use only as scope markers and evidence checklists.
- If the domain is ambiguous, classify by source/load, topology, control objective, and validation signals first.
Boundary
- This skill does not manage OS-level schedulers, background jobs, or other system automation.
- This skill does not replace Simulink build/simulate/test skills; it adds PE-specific routing, evidence standards, and diagnostics.
- Keep downloaded corpora, generated models, caches, and long-loop outputs out
of source control under
data/pe-loop/ordata/generated-models/.
Reporting
Report root cause, changed paths, validation state, and remaining risks in the user's language.