Contenuto principale

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
Load Flow SourceThree-phase voltage source for performing load flow analysis

Functions

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
ee_getBillOfMaterialsGenerate report for current model and all subsystems
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
generateDCDCConverterROMGenerate reduced-order model of DC-DC power converter subsystem (Since R2025a)
generateMotorDriveROMGenerate reduced-order model of motor drive subsystem (Since R2024a)
generateSemiconductorSwitchROMGenerate reduced-order model of semiconductor switch subsystem (Since R2024b)
generateSemiconductorSubcircuitROMGenerate reduced-order model of semiconductor switch by running SPICE (Since R2025a)
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 ideal semiconductor block parameters from Hitachi, Infineon, or Wolfspeed XML data sheet (Since R2021b)
ee_plotHarmonicsPlot percentage of fundamental magnitude versus harmonic order
spsConversionAssistantConvert Specialized Power Systems model into Simscape Electrical model (Since R2025b)

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

Topics

Featured Examples