|
Course Highlights
This four-day hands-on training focuses on providing basic knowledge of Matlab and Simulink for beginners who wish to build physical model of their systems. Beginning with introduction to Matlab environment, the course will first provide with working understanding of Matlab technical computing. Followed by the introduction to Simulink environment which will provide essential knowledge required to build basic modeling techniques and tools to develop Simulink block diagram. Participants will be provided with working understanding of system and algorithm modeling and design validation in Simulink. On the last day, it will focus on building physical model in Simulink environment for Electrical Power System applications using Simscape Foundation Library, SimElectronics and SimPowerSystems. Simulink design optimization tool will be used to tune physical model parameters and to optimize the physical system performance.
Course Objectives
The aim of the training is to provide participants with sufficient knowledge of Matlab technical computing and Simulink system modeling for doing physical modeling, as well as an introduction to Simscape Foundation Library, SimElectronics and SimPowerSystems for modeling electrical power systems.
Who Should Attend
This hands-on course is designed for engineers who wish to implement physical modeling using Simscape Foundation Library, SimElectronics and SimPowerSystems in the Simulink environment. Engineers, researchers, scientist and managers working with system level design will be shown an easy-to-use approach in using Simscape Foundation Library, SimElectronics and SimPowerSystems tools.
Course Benefits
Upon the completion of the course, the participants will gain fundamental understanding of using Matlab as programming language and Simulink for system modeling as well as fundamental understanding of building physical model using Simscape Foundation Library, SimElectronics and SimPowerSystems.
Prerequisites
- No prior knowledge of MATLAB and Simulink are required.
- Programming experience is highly recommended.
- Familiarity with basic computer operations is recommended.
Course Outline
Day 1
Working with Matlab Variables
This section introduces Matlab variables as data containers. Two essentials operations are emphasized: creating variables and accessing data the variables contain. This section also introduces Matlab operations for computing with data.
- Creating variables
- Accessing vector and matrix data
- Vector and matrix arithmetic
Data Input and Output
Before you can do any kind of data analysis in Matlab, you have to be able to import you data in the Matlab environment. Likewise, when you have completed your analysis, you may want to export the results for purpose of recording and reporting. This section focuses on techniques for moving data back and forth between external files and data containers (variables) in the Matlab workspace.
- File types and formats
- The import wizards
- Programmatic I/O
Plotting and Visualization
You will be introduced to the visual side of MATLAB by showing you how to create plots of vector data (plane and space curves). Visualizations complement the numerical capabilities of Matlab, and should play an equal role in any thorough data analysis.
- Vector data
- Plane and space curves
- Annotating graphics and Working with axes
- Plot types
M-Files Programming
You will learn on how to write, edit, run, and debug M-files for MATLAB programming. The distinction between script and function M-files is highlighted.
- The Matlab editor
- Script M-files
- Function M-files
- Debugging
Day 2
Introduction to System Modeling
- Become familiar with system modeling in Simulink and the electronic throttle control system modeling in the Simulink environment
- Electronic throttle control model
Creating and Simulating a Model
Create a simple Simulink model, run simulations, and analyze the results.
- Define the potentiometer system
- Become familiar with the Simulink interface
- Create a Simulink model of the potentiometer system
- Run simulations and analyze results
Modeling Programming Constructs
Use Simulink to model and simulate basic programming constructs.
- Model comparisons and decision statements
- Create and use vector signals
- Use the MATLAB Function block
Modeling Discrete Systems
Use Simulink to model and simulate discrete systems.
- Define system
- Define discrete states
- Create a model of a PI controller
- Model discrete transfer functions and state space systems
- Model multirate discrete systems
Day 3
Modeling Continuous Systems
Use Simulink to model and simulate continuous systems.
- Define the throttle system
- Create a model for the throttle system
- Define continuous states
- Run simulations and analyze results
- Model impact dynamics
Solver Selection
Select a solver that is appropriate for a given Simulink model.
- Solver options
- Discrete solvers
- Continuous solvers
- Zero-crossing detection
- Algebraic loops
Developing Model Hierarchy
Use subsystems to combine smaller systems into larger systems.
- Subsystems
- Bus signals
- Masks
Creating Libraries
Use libraries to create and distribute custom blocks.
- Create new libraries
- Create configurable subsystems
- Add libraries to the Library Browser
- Compare libraries and model references
Day 4
Introduction to Simscape and the Physical Network Approach
Objective: Become familiar with the Simscape environment by modeling a simple electrical system. Interpret Simscape foundation library and identify the physical variables.
- Introduction to Simscape
- Differences between modeling in Simulink and in Simscape
- Building and simulating a model in Simscape
- Guidelines for Simscape modeling
- Component fundamentals
- SimScape Foundation library
- Logging and viewing physical variables
Combining Physical Models and Simulink Models
Objective: Add Simulink blocks to a physical model to increase modeling flexibility.
- Connecting physical signals to Simulink signals
- Performing operations on physical signals
- Parameterizing a model
- Creating components using subsystems
Working with SimPowerSystems
Objective: Interpret SimPowerSystems block diagrams and identify the physical variables by modeling simple power system.
- Component fundamentals
- powergui
- Solver setting
Simulink Design Optimization for Parameter Tuning and Performance Optimization
Objective: Looking into Simulink Design Optimization capability of doing parameter tuning and optimizing the system performance.
- Tuning the physical model parameters
- Control and Estimation Tool Manager
- Setting design requirement
- Setting signal constraint
|