SimPowerSystems |
 |
Increasing 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 can 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 --> Simulation parameters --> Workspace IO dialog pane. 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 |  |