Back to blog

Power electronics simulation for converter design and validation

Power Electronics

09 / 05 / 2026

Power electronics simulation for converter design and validation

Key Takeaways

  • The fastest event in the converter circuit sets the timestep, and the timestep sets which solver you can honestly use.
  • Offline tools settle design questions while real-time hardware in the loop settles integration questions, so plan the conversion between them as its own task with acceptance criteria.
  • Edge placement accuracy carries more weight than raw step size, which makes interpolated switching the first feature to check when comparing platforms.

Power electronics simulation pays for itself when it catches converter faults before the first prototype board is populated, and the deciding factor is the timestep your model actually needs.

Every converter program hits the same wall. Offline solvers give you unlimited resolution and no clock, while real-time platforms give you a hard clock and a fixed compute budget per step. Picking the wrong side of that line costs weeks of schedule. United States utility-scale battery storage has grown at an average annual rate of 70% over the past three years, and every one of those installations sits behind a converter somebody had to model, tune and sign off.

The practical question isn’t which simulator is best. It’s which solver matches your switching frequency, your control loop rate and the hardware you plan to connect. Get that mapping right and validation turns into a sequence you can repeat. Get it wrong and you’ll spend the schedule chasing numerical noise that never existed in copper and silicon.

What power electronics simulation actually does for converter design

Power electronics simulation software reproduces the switching behaviour of converters and their control loops in code, so you can test topology choices, modulation schemes and protection logic before committing to hardware. Coverage runs from device level loss estimation up to full system stability studies. Each of those questions wants a different model.

A three-level active neutral point clamped inverter shows why. Running it with detailed semiconductor physics tells you switching losses and junction temperatures, but a single line cycle takes hours. Swap in an ideal switch with a fixed on-state resistance and that line cycle finishes in seconds, accurate enough for control tuning and useless for thermal design.

The split matters because most converter groups treat simulation as one activity when it’s really three. Topology screening wants speed. Control validation wants correct dynamics at the loop rate. Protection work wants faithful transients at the switching edge. Serving all three from one model is how programs end up with results nobody trusts.

Timestep requirements decide which solver you can use

Your timestep has to resolve the fastest event you care about. A converter switching at 10 kHz under pulse width modulation needs steps small enough to place each edge accurately, which usually lands around 1 microsecond offline and well below that once a physical controller joins the loop.

Consider a traction inverter running 20 kHz modulation. At a 50 microsecond step, each switching period holds a single sample, so pulse widths quantize to the grid of the solver and the current ripple you measure comes from the numerics rather than the circuit. The waveform looks plausible on screen and answers a question you never asked.

Cutting the step to 250 nanoseconds fixes the ripple and multiplies the compute load by 200. That’s the whole tradeoff in one number. Offline tools absorb the cost by running longer. Real-time platforms can’t, because every step has to finish before the next one starts, so either the model gets simpler or the solving moves onto hardware that runs the arithmetic in parallel.

“Cutting the step to 250 nanoseconds fixes the ripple and multiplies the compute load by 200.”

How offline modelling and real-time validation divide the work

Offline simulation answers design questions. Real-time simulation answers integration questions. You size components, pick a modulation strategy and prove a control law offline, then move to hardware in the loop when the actual controller has to run against a plant model at full speed.

The handoff appears clearly on a grid-tied 1 MW inverter project. Component sizing and loss budgets get settled offline. Once the control board exists, the same plant model runs on a real-time simulator wired to its analog and digital I/O, and the team can inject grid faults, ride-through events and sensor failures no bench setup would survive.

The handoff is also where schedules slip. Offline models carry assumptions that break quietly under a fixed step, including algebraic loops, stiff snubber networks and ideal switches passing impossible currents. Budget time to convert the model instead of assuming it ports.

Choosing between CPU solving and FPGA solving by timestep

The main difference between CPU solving and FPGA solving is the floor on timestep. CPU solvers reach roughly 10 to 20 microseconds while carrying rich models and flexible topologies. FPGA solvers push below 500 nanoseconds because the circuit equations run as parallel logic instead of sequential instructions.

Most converter labs end up running both, and OPAL-RT builds the split deliberately, with ARTEMiS solving the electrical network on the CPU where model size matters, and eHS solving the converter stage on the FPGA where edge placement matters. Partitioning that way keeps resolution where the physics needs it.

The split isn’t free. Anything crossing the CPU to FPGA boundary picks up a step of latency, so place that boundary where coupling is weak, typically at a filter inductance or a DC link capacitor rather than mid-bridge. The table below maps common validation tasks to the solving approach that fits.

Validation task Timestep you need Why that step matters
Topology screening and loss budgets 10 to 50 microseconds Average behaviour is enough because you’re comparing candidates rather than certifying one.
Control loop tuning against a plant model 1 to 10 microseconds The step has to resolve current loop bandwidth or the tuning won’t hold on hardware.
Hardware in the loop with a production controller 250 nanoseconds to 1 microsecond Pulse edges have to land where the controller thinks it placed them.
Wide bandgap converter switching studies Under 250 nanoseconds Fast edges and ringing carry the information you’re trying to capture.
Grid interaction and protection coordination 20 to 50 microseconds Network dynamics dominate, so a coarse step buys you model size cheaply.

Where switching model fidelity breaks down in practice

Where switching model fidelity breaks down in practice

Model fidelity fails at the edges, literally. Ideal switch models place transitions on step boundaries, so at a coarse step the converter appears to switch early or late by up to a full timestep. That shifts effective duty cycle and shows up as a DC offset in the output current.

Electric traction drives make the cost concrete. Global electric car sales passed 20 million in 2025, about a quarter of all new cars sold, and every one of those powertrains needed an inverter validated against a motor model first. At 20 kHz with a 1 microsecond step, half a step of edge error is 1% of the switching period, enough to bias torque estimates in a way that only surfaces on a dynamometer.

Interpolated switching corrects most of this by calculating the exact crossing point inside the step instead of rounding to the boundary. It costs solver time and it’s the single feature separating a converter model you can trust from one that merely runs. When you compare power electronics simulation tools, ask how transitions get placed before you ask about step size.

“Ideal switch models place transitions on step boundaries, so at a coarse step the converter appears to switch early or late by up to a full timestep.”

Common failure modes in converter validation programs

Most converter validation problems trace back to process rather than physics. Models get built for one question and reused for another, timesteps get chosen from habit, and nobody records which version of the plant model produced which test result.

Five patterns account for most of the lost time.

  • Reusing a control tuning model for protection studies, where ideal switches hide the overcurrent transient you’re trying to catch.
  • Choosing the timestep from what the platform allows instead of what the fastest circuit event requires.
  • Leaving the plant model unversioned, so a failed test can’t be reproduced two weeks later.
  • Skipping the offline to real-time conversion check and finding algebraic loops during commissioning.
  • Validating the converter alone when the failure lives between converter, filter and grid impedance.

The versioning point deserves more weight. A converter validation campaign generates hundreds of runs across firmware revisions, and without a record linking model version, solver settings and firmware build, you can’t separate a genuine regression from an assumption somebody adjusted.

What disciplined converter validation gives you over time

Converter groups that pick solvers by timestep requirement rather than by habit ship with fewer surprises. The discipline is simple to state and hard to sustain. Know the fastest event in the circuit, choose the step that resolves it, and keep the model that produced every result you reported.

Across a few program cycles that habit compounds. Component sizing stops being re-argued because the loss model is trusted. Control regressions surface in a fixed-step run instead of on a test bench. Fault testing that once cost a destroyed prototype now runs before lunch.

Teams working with OPAL-RT tend to land on the same partition, with the electrical network solved on CPU where model size matters and the converter stage solved on FPGA where edge placement matters. The point isn’t the hardware. It’s that the boundary between them becomes a design decision you make on purpose, and you’ll feel the difference in every review where somebody asks how much you trust the number on the slide.