Main Content

Simulation and Analysis

Performance improvement, analysis tools and techniques

Analyze, tabulate, and plot harmonic data using analysis functions and Simscape™ logging variables. Simulate thermal losses due to switching events and conduction losses in semiconductors. Perform a load-flow analysis and use the results to initialize AC steady state simulation.

Simscape Blocks

BusbarLoad flow analysis busbar connector (Since R2019b)
Load Flow SourceThree-phase voltage source for performing load flow analysis (Since R2019b)


ee_calculateFluxPartialDerivativesCalculate flux partial derivatives for FEM-Parameterized PMSM block
ee_calculateThdPercentCompute the total harmonic distortion (THD) percentage
ee_comtradeDatasetRead and extract values from COMTRADE record (Since R2020b)
ee_getBillOfMaterialsGenerate report for current model and all subsystems (Since R2020b)
ee_getCauerFromFosterGet equivalent resistance and capacitance vectors for Cauer Thermal Model block from Foster Thermal Model block (Since R2022b)
ee_getEfficiencyCalculate efficiency as function of dissipated power losses
ee_generateIdealPMSMfluxDataGenerate tabulated flux linkage data for ideal PMSM
generateMotorDriveROMGenerate reduced-order model of motor drive system (Since R2024a)
ee_getHarmonicsReturn harmonic orders, magnitudes, and fundamental frequency
ee_getNodeDvDtSummaryCalculate maximum absolute values of terminal voltage time derivatives (dv/dt) based on logged simulation data
ee_getNodeDvDtTimeSeriesCalculate rates-of-change of voltage variables
ee_getPowerLossSummaryCalculate dissipated power losses and switching losses
ee_getPowerLossTimeSeriesCalculate dissipated power losses and switching losses, and return time series data
ee_importDeviceParametersImport device parameters from XML file to Simscape Electrical IGBT (Ideal, Switching), MOSFET (Ideal, Switching), and Diode blocks (Since R2021b)
ee_plotHarmonicsPlot percentage of fundamental magnitude versus harmonic order

Analysis Tools

Harmonic AnalyzerAnalyze and plot harmonic spectrum of Simscape logging nodes
Load-Flow AnalyzerDetermine steady-state voltage magnitudes and angles and real and reactive power flows for three-phase AC, DC, or mixed AC/DC network