DSIM features
Switching Transient Model Simulation
DSIM adopts an innovative modeling approach called the Piecewise Analytical Transient (PAT) model. This model excels at simulating the switching transients with remarkable speed and stability.
Easily integrate custom control algorithms. A C interpreter engine will interpret and execute the C code at runtime. This feature simplifies the process of writing custom C code.
MATLAB Simulink
Co-simulation
Take advantage of DSIM’s capability in power simulation and MATLAB Simulink’s capability in control simulation in a complementary way.
Loss Calculation
Using the PAT model, DSIM can calculate power loss & junction temperature of the device. This offers in-depth study of device behavior and easy comparison of devices across various manufacturers.
Write code in C or C++, compile it as a Windows DLL, and link it to DSIM. There are four exported functions. Three are used by the DSIM simulation engine, and one is used by the user interface.
DSIM's API functions enable users to leverage MATLAB's M language for tasks such as parameter design, multi-scenario testing, and more.
One key feature of DSIM's
AC Sweep is that, if a circuit is switch-mode, the frequency response can be acquired in its original switch-mode form, rather than relying on an average model. More below.
Use API to support functions such as schematic operations, simulation control, and data processing.

AC Sweep Frequency Analysis
With DSIM's AC Sweep, the frequency response of a circuit or a control loop can be obtained. The principle of the AC Sweep Frequency Analysis is that a small AC excitation signal is injected into the system as the perturbation, and the output signal at the same frequency is then extracted. To achieve accurate results, it’s crucial to set the excitation source amplitude appropriately. It should be small enough to keep the measured system within the linear region, yet large enough to avoid interference from numerical errors or other noise.
Typically, physical systems exhibit low attenuation in the low-frequency range and high attenuation in the high-frequency range. For optimal results, consider using a relatively small excitation source amplitude at the start frequency and gradually increasing it to a larger amplitude at the end frequency.
To set up AC Sweep:
● Identify a sinusoidal voltage source as the excitation source.
● Place the AC Sweep probes at the desired output location.
● Place the AC Sweep block on the schematic, and set the parameters.
● Run simulation.
Use case to increase speed:
- make AC sweep parallel.
The API of DSIM can be utilized to enable parallel computing for AC SWEEP, which significantly speeds up the process. With the DSIM MATLAB API, a single AC SWEEP (with numerous frequency points) can be divided into multiple AC SWEEPs (each containing only 2 frequency points). These can then be executed in parallel across different CPU processes, resulting in much faster computation.

User-defined Control and Automation
DSIM provides functions such as C blocks and DLL blocks that allow users to implement any control algorithms. In addition, with the built-in scripting function automate the simulation process by running hundreds of simulations automatically, with various parameters and operating conditions.
See the example. A C block enables users to input C code directly without the need for compilation. A C interpreter engine will interpret and execute the C code at runtime. This feature simplifies the process of writing custom C code.


Script functions
The Script tool can be found in the Tools menu in DSIM.
● Mathematical operators
● Computational functions
● Formula functions
● Control functions
● Array functions
● String functions
● Complex numbers
● File functions
● Graph function
● Simulation function
API for MATLAB
DSIM provides Application Programming Interface (API) functions that can be accessed through MATLAB, covering various stages such as circuit modification, simulation control, and data post-processing. These interface functions enable users to leverage MATLAB's M language for tasks such as parameter design, multi-scenario testing, and the development of custom features.
For more information, please refer to "Tutorial - DSIM API Document (MATLAB)".


API for C/C++
Easily conduct simulations by writing custom functions and programs. The API supports various functions such as schematic operations, simulation control, and data processing. Through the provided interface functions, users can leverage DSIM for parameter design, multi-scenario testing, and the integration of various custom features.
For more information, please refer to "Tutorial - DSIM API Document (C_C++)".

More DSIM Features

100+ Physical Models
IGBT and SiC MOSFET

Logic elements and Control
Filters, computational blocks, digital control modules, and switch controllers.

350+ Elements
Various switches, passive and active components, RLC, magnetic, thermal, transformers

Motor Drives
DC/synchronous machine, PMSM, and more. Mechanical loads & sensors.

Pre-built examples
Grid-connected microgrid, MMC converter, motor drive, solar power, AC-DC, DC-DC, and more.

Renewable Energy
Solar modules, Li-ion battery, wind turbine, ultracapacitor, and more.
Webinar: Solid State Transformer (SST) Design & Simulation
Date: June 18
Time: 10am ET
Leveraging DSIM’s efficient simulation capabilities and its user-friendly support for SST design, we will present case studies of high-capacity SSTs across various application fields. The session will showcase a comprehensive solution covering the entire process—from modular circuit design to full-system simulation.