Download as pdf or txt
Download as pdf or txt
You are on page 1of 24

Dynamic Simulation of

Electric Machinery
Contents
• Introduction
• Basics of Magnetics and Line Modeling
• Transformers
• Transformations
• Three-phase Induction Machines
• Synchronous Machines
• DC Machines
• Control of Induction Machines
References
• Chee-Mun Ong, Dynamic Simulation of Electric Machinery
Using Matlab/Simulink, Prentice Hall, Upper Saddle River, NJ,
1998.
• Bộ môn Điện công nghiệp, Bài giảng Mô hình hóa máy điện
(Lưu hành nội bộ)
• Materials about Matlab/Simulink
Grading
• Attendances and Homework: 20%
• Midterm Exam: 20%
• Final Term Exam: 60%
• Students must finish all assigned homework projects as
condition for participating the final term exam.
Chapter 1
Introduction
Physical system
Model is a simplified
representation of the
Simplifications Hypotheses physical system
Model
suitable for being
Modeling expressed in terms of
Physical mathematical equations
Systems Equations and translated into
computer programing
code.

Closed-form Numerical
solution solution

General approach for studying a physical system


Process of Simulation
• Observing the physical system.
• Formulating a hypothesis or mathematical
model to explain observation.
• Predicting the behavior of the system from
solutions or properties of the mathematical
model.
• Testing the validity of the developed technique
or mathematical model.
Category of the simulation model (1)
• Linear and nonlinear
• Linear models: linear mathematical relations which obey the principle
of superposition.
• Nonlinear models: mathematical relations that are not linear.
• Lumped and distributed parameter
• Lumped systems: described by ODE with one independent variable.
• Distributed systems: described by PDE with multiple independent
variables.
Category of the simulation model (2)
• Static and dynamic
• Static models: do not take time variations into account.
• Dynamic models: take time-varying interactions into account.
• Continuous and discrete
• Continuous model variables are acting continuous with time.
• Discrete model variables are defined at distinct instances.
• Deterministic and stochastic
• Deterministic models: No chance factors.
• Stochastic models: Chance factors are taken into account
Developing a Model (1)
• Procedure for developing a model
• Identifying the purpose of model and its constraints
• Making simplifying assumptions and omissions
• Defining the available computational platform
• Checking model performance with base case (base case:
phenomena from the observation we can obtain, not from
prediction)
Developing a Model (2)
• Re-checking the omissions or simplification and refine model
if accuracy of base case is not satisfied
• Considering more simplification on model if computation time
is too long
• A good model should reflect the scope of the purpose in
appropriate computational time
Modeling and Simulation (1)
• Reason to run simulation when testing on actual system
• Too expensive to operate
• Time consuming to execute
• Hazardous to build
• Evitable to unacceptable disruptions
• Simulation’s validity
• Focus on the feature of testing to determine the model scale
(accuracy vs. time saving)
• Base case evaluation
Modeling and Simulation (2)
• Modeling power system components
• Components should be designed to be
▪ Close to its function
▪ Specification: tolerance to over-voltage, surges, and faults
▪ Extreme conditions are common on power component
analysis
Introduction to MATLAB/SIMULINK
• SIMULINK is a toolbox extension of the MATLAB program.
• A software package for modeling, simulating, and analyzing
dynamic systems.
• Getting to Simulink:
▪ Start MATLAB program.
▪ Enter “Simulink” in the MATLAB
command window or click
Simulink icon on the Home tab.
Introduction to MATLAB/SIMULINK
• Steps to use SIMULINK:
• Define or use a mathematical model you will use
• Pick a suitable integration method and blocks
• Assign parameters for blocks
• Setup the run condition (run-time, initial condition: assign
directly on .mdl or use .m file)
• Print or sketch out results you want to see
Introduction to MATLAB/SIMULINK
• SIMULINK templates/block library: Some often used blocks
• Continuous: integrator, transfer fcn, zero-pole
• Discontinuous: dead zone, rate limiter, saturation
• Math operation: abs, dot product, gain, sum
• Signal routing: mux, demux, switch
• Sink (output): scope, to workspace, out1
• Source (input): clock, from workspace, constant, repeating
sequence, step, sine wave.
• User defined function: s-function
Matlab/Simulink Example 1
• Modeling the following equation for converting temperature from
Celsius to Fahrenheit:

TF = ( 9 5 ) TC + 32

Run simulation in 10s: Convert


0-10 Celsius to Fahrenheit
Matlab/Simulink Example 2 (1)
• Parallel RLC circuit
Matlab/Simulink Example 2 (2)
• Parallel RLC circuit
Matlab/Simulink Example 2 (3)
• Simulink model for parallel RLC circuit
Matlab/Simulink Example 2 (4)
• Simulink model for parallel RLC circuit
Matlab/Simulink Example 2 (5)
• Simulation results for parallel RLC circuit
Project 1
Project 1

Due on ????

You might also like