Simulating the physical model and the controller together lets you optimize system-level performance in addition to the performance of individual subsystems. Properly configuring the model enables you to balance the tradeoff of model fidelity and simulation speed. Distributing your simulations to multiple computers accelerates the testing process, and automating the analysis and documentation of results shortens design iterations.
MathWorks physical modeling products provide detailed and simplified models of many common components and the option of creating your own component models using the Simscape language. With System Identification Toolbox™, you create an accurate approximation of your model that will simulate quickly. You can use Configurable Subsystems in Simulink to select the right combination of subsystem variants for a specific test. Choosing your simulation method, such as continuous, discrete, averaged, or phasor, lets you capture or ignore events that occur during simulation. Combining these capabilities enables you to iterate as rapidly as your analysis permits.
Nearly any operation on your model can be performed automatically using scripts written in MATLAB. For example, your script can select model variants, change parameter values, adjust solver settings, and run simulations, enabling you to automatically configure and test your system. SystemTest™ offers integrated data management and analysis capabilities for creating and executing tests and saving results to facilitate continuous testing throughout the development process. To speed up your testing process, run multiple simulations simultaneously on a multicore desktop or computing cluster using Parallel Computing Toolbox™.
Simulation results for your models can be analyzed and plotted with MATLAB. Using Simulink Report Generator™, you automatically run simulations and generate a report that can include screenshots of the model, plots of simulation results, and MATLAB code. SimPowerSystems™ offers additional analysis tools such as load flow and FFT that help you interpret simulation results from electrical power systems. Automating the analysis process streamlines design iterations, helping you discover the best design instead of simply the first one that works.
You can quickly switch between models to select the component that optimizes system-level performance. With Simulink Design Optimization™, you apply optimization algorithms to your simulations to determine sets of realistic parameter values that deliver optimal performance while meeting system requirements. Instead of simply focusing on the performance of individual subsystems, applying these techniques at the system level enables you to create an optimal system-level design.