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
See how the Solver Profiler can help you figure out performance bottlenecks for models using a variable-step solver.
Using the Simulink Profiler for Run-Time Analysis per Block or Subsystem
See 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
See how the Model Advisor is used to perform several performance checks for your specific model to identify non-optimal model settings or blocks.
Analyzing Simscape Model Initialization with the Variable Viewer
See 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
See how the Statistics Viewer aggregates Simscape model statistics for a given model with its solver configurations.
Analyze the Magnitude of Simscape Variables for Defining Good Scaling Values
See 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 Execution
See the impact of the Normal, Accelerator, and Rapid Accelerator simulation modes on the execution speed of electrical system models.
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
See a comparison of a full electromagnetic transient (EMT) simulation of an AC power system with 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?
See a comparison of different model fidelity variants for power converters, including averaged, ideal switching, and detailed converters.
Leveraging Model Fidelity in Simscape Battery
Get an introduction to the concept of model fidelity for battery simulation, including 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 about important considerations when you are building 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 Should You Use for Electrical System Simulation?
Learn about solver and model considerations when simulation physical systems.
Convert Electrical Plant Models to HDL Code
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.