Power System Blockset |
 |
How to Increase Simulation Speed
Once the proper method (continuous or discrete), solver type, and parameters have been selected, there are still some ways of optimizing the simulation speed:
- Discretize your electric circuit and your control system. You can even use a larger sample time for the control system, provided that it is a multiple of the smallest sample time.
- Simulating large systems or complex power electronic converters may be time consuming. If you have to repeat several simulations from a particular operating point you can save time by specifying a vector of Initial states in the Simulation/Parameters/Workspace IO menu.This vector of initial conditions must have been saved from a previous simulation run.
- Reducing the number of open scopes and the number of points saved in the scope will also help in reducing the simulation time.
| Simulating Discretized Electrical Systems | | The Nonlinear Model Library |  |