Video and Webinar Series

Simscape Electrical Modeling Practices for Fast Simulation

Discover how to determine optimal settings and modeling constructs for the fastest simulation speed with Simscape Electrical. The presenters demonstrate a range of analysis techniques applied step by step to a representative electrical model, aiming to pinpoint performance bottlenecks. Throughout, they carefully balance the effort required for modifications against the potential for improvement.

Areas of focus:

  • Important analysis tools
  • Simulation modes and fast restart
  • Parallel Simulations
  • Choosing the appropriate level of modeling fidelity
  • Optimal modeling of power converter switching (PWM)
  • Restructuring of blocks for faster execution
  • Solver selection
  • Converting Simscape to HDL Code

This video series is designed to assist modeling engineers, particularly those concentrating on plant and control, in directing their attention towards modeling for rapid desktop simulations or implementation on Hardware-In-The-Loop platforms.

Using Solver Profiler for analyzing variable step solver performance This video shows, how the Solver Profiler can help to figure out performance bottlenecks for models using a variable step solver.

Using Simulink Profiler for run time analysis per block or subsystem This video shows how the Simulink Profiler is used to figure out how much simulation time is needed per block.

Automatic performance checks for optimal model settings with Model Advisor This video shows how the Model Advisor is used to perform several performance checks for your specific model concerning non optimal model settings or blocks.

Analyzing Simscape model initialization with variable viewer This video shows how the Variable Viewer can be used to check the results of the initialization for the model that uses Simscape.

Exploring Simscape model statistics information to analyze model complexity This video shows how the Statistics Viewer will aggregate Simscape model statistics for a given model with its solver configurations.

Analyze the magnitude of Simscape Variables for defining good scaling values This video shows how the Variable Scaling Analyzer can be used for scaling Simscape variables to increase simulation robustness and performance.

Using accelerator modes and fast restart for faster model execuation This video shows the impact the various simulation modes have on the execution speed of electrical system models. These modes are Normal, Accelerator and Rapid Accelerator Mode.

Running models in parallel on multiple cores or on a computer cluster Learn how you can speed up electrical Simulation with Parallel Computing in normal or accelerator mode.

When and how to use phasor mode simulations This video compares a full electromagnetic transient (EMT) simulation of an AC power system to a phasor simulation. The requirements for a successful phasor mode simulation are shown, as well as how to switch the solver to phasor.

Which converter model has the right fidelity for your simulation goal? This video compares different model fidelity variants for power converters, like averaged, ideal switching and detailed converters.

Leveraging Model Fidelity in Simscape Battery This video introduces the concept of model fidelity for battery simulation, showing how it affects your model's performance and the richness of data you can get from your simulation.

Using different PWM implementations for faster simulation of converters Learn what you must consider when you build up a model for fast PWM switching.

Using fast implementations for variable frequency pulse generation Learn techniques to model a fast implementation of a variable frequency pulse generator for variable frequency converters.

Which solver to use for Electrical System Simulation? Learn more about solver and model considerations when simulation physical systems.

Convert Electrical Plant Models to HDL Code In this example, you learn how you can use the linearized switch approximation method to convert a Simscape motor model to an HDL implementation model for HDL code generation and synthesis.

Related Resources