**3. Matlab capabilities**

The Matlab simulation platform (by MathWorks, Inc.) offers a versatile and robust option in design and simulation of power electronic converter systems. Matlab is matrix based, offering diverse options in data manipulation, preparation, and presentation. Simulink, a sub-program of Matlab included in the standard software package, offers a relatively high-level programming language utilizing drag-and-drop function blocks that mask embedded functions. These icons can be incorporated into yet larger models and again masked into new system blocks. This modular block-symbol based modeling system allows ease of construction and programming of large complex systems while maintaining the ability to edit and control internal systems all the way down to the most base-level functions.

The power electronic system designer upon starting Simulink, then, is entering the design process at the phase of assembly of power electronic, measurement, and signal routing components into larger more complex systems to accomplish a desired task. The designer may from time to time wish to delve into base Simulink models to change component characteristics and behavior, add base-level monitoring of characteristics, change signal routing, confirm calculation methods, or even develop system models from scratch.

This section is intended for the Matlab user who possesses basic workspace programming knowledge. Many resources are available to learn or refresh on Matlab workspace programming, including the help files included with the Matlab software. Matlab help files are an invaluable resource in workspace and Simulink programming and are recommended for perusal.

### **3.1. SimPowerSystems toolbox**

Simulink provides a rich suite of toolboxes applicable to wide areas in engineering applications. The power electronics devices discussed in this chapter are simulated using "SimPowerSystems", a versatile toolbox for modeling electro-mechanical systems. In addition to popular power electronics devices, this toolbox provides a wide range of simulation apparatuses such as transformers, rotating machines, hydraulic turbine & governor, and wind turbines, as well as basic electric circuit components. Detailed characteristic parameters can be configured for these components to represent typical performance scenarios. To monitor the performance of constructed models, a host of measurement blocks are available for discreet, continuous, and phasor based measurements. Relevant variables like active & reactive power, total harmonic distortion, and power factor can be monitored with ease. Custom functions can also be set up with simple manipulations. Since this chapter deals with power electronics applications, attention is focused on the Power Electronics block-set which includes several power electronics semiconductor simulation blocks relevant to industry, Table 2. Devices shown in Table 2 are modeled into systems with other standard Simulink and SimPower devices, some of which are presented in Table 3.


**Table 2.** SimPower Power Electronics Models

146 MATLAB – A Fundamental Tool for Scientific Computing and Engineering Applications – Volume 1

**3. Matlab capabilities** 

base-level functions.

for perusal.

**3.1. SimPowerSystems toolbox** 

<sup>2</sup> CV f D s Diode Capacitive Loss DcapL= <sup>2</sup>

The Matlab simulation platform (by MathWorks, Inc.) offers a versatile and robust option in design and simulation of power electronic converter systems. Matlab is matrix based, offering diverse options in data manipulation, preparation, and presentation. Simulink, a sub-program of Matlab included in the standard software package, offers a relatively high-level programming language utilizing drag-and-drop function blocks that mask embedded functions. These icons can be incorporated into yet larger models and again masked into new system blocks. This modular block-symbol based modeling system allows ease of construction and programming of large complex systems while maintaining the ability to edit and control internal systems all the way down to the most

The power electronic system designer upon starting Simulink, then, is entering the design process at the phase of assembly of power electronic, measurement, and signal routing components into larger more complex systems to accomplish a desired task. The designer may from time to time wish to delve into base Simulink models to change component characteristics and behavior, add base-level monitoring of characteristics, change signal

This section is intended for the Matlab user who possesses basic workspace programming knowledge. Many resources are available to learn or refresh on Matlab workspace programming, including the help files included with the Matlab software. Matlab help files are an invaluable resource in workspace and Simulink programming and are recommended

Simulink provides a rich suite of toolboxes applicable to wide areas in engineering applications. The power electronics devices discussed in this chapter are simulated using "SimPowerSystems", a versatile toolbox for modeling electro-mechanical systems. In addition to popular power electronics devices, this toolbox provides a wide range of simulation apparatuses such as transformers, rotating machines, hydraulic turbine & governor, and wind turbines, as well as basic electric circuit components. Detailed characteristic parameters can be configured for these components to represent typical performance scenarios. To monitor the performance of constructed models, a host of measurement blocks are available for discreet, continuous, and phasor based measurements. Relevant variables like active & reactive power, total harmonic distortion, and power factor can be monitored with ease. Custom functions can also be set up with simple manipulations. Since this chapter deals with power electronics applications, attention is focused on the Power Electronics block-set which includes several power electronics semiconductor

routing, confirm calculation methods, or even develop system models from scratch.

(20)
