Matlab Expo 2021 Teaching Electric Power Systems With Matlab and Simulink Edt
Matlab Expo 2021 Teaching Electric Power Systems With Matlab and Simulink Edt
Power Systems
using MATLAB and
Simulink
Presented by Douglas Jussaume
Electrical and Computer Engineering Department
University of Tulsa
Agenda
MathWorks at the University of Tulsa
• ECE’s usage of MATLAB / Simulink
• ECE 3033 Electric Power Systems course
Engineering Labs
• Importance of Engineering Labs
• Why the change to Virtual Power Labs
ECE 3033 Virtual Power Labs
• Implementation and Development Timeline
• Virtual Power Lab Design Features
• Virtual Power Lab Demonstration
• Student Feedback
• Benefits of a Virtual Lab
Evolving the Virtual Lab Concept
• Next Steps in Evolving the Virtual Lab
• Power Lab Revisions
• Integrating Power Lab Models into the classroom
• Three-Phase Power System Demonstration using Live Editor
Summary and Acknowledgements
University of Tulsa’s Electrical and Computer Engineering Department
Classroom and Lab Usage of MATLAB and Simulink
Academic
Course Number Course Title Use
Year
Solve system of equations and perform complex algebra - Dr.
ECE 2003 Electric Circuit Analysis
Surendra Singh
Sophomore
Programming Arduinos with Digital Functions and basic
ECE 2161 Digital Lab
Hardware-in-the-Loop Simulation - Dr. Nathan Hutchins
ECE 3113 Signals and Linear Systems Fourier series approximation, filtering - Dr. Heng-Ming Tai
Integrated Labs
• Lab Introduction with a single-phase transformer and complex load
• Three-Phase System - DC Motor - AC Synchronous Generator
Lab Set-up
• Single lab benchtop
• Modular hardware - Motor/Generators, Transformers, Transmission Line, Complex loads
• Measure Voltage, Current, Frequency, Torque, and Speed
• Real time display of complex power, power factor, voltage/current, torque/speed, and frequency
Agenda
MathWorks at the University of Tulsa
• ECE’s usage of MATLAB / Simulink
• ECE 3033 Electric Power Systems course
Engineering Labs
• Importance of Engineering Labs
• Why the change to Virtual Power Labs
ECE 3033 Virtual Power Labs
• Implementation and Development Timeline
• Virtual Power Lab Design Features
• Virtual Power Lab Demonstration
• Student Feedback
• Benefits of a Virtual Lab
Evolving the Virtual Lab Concept
• Next Steps in Evolving the Virtual Lab
• Power Lab Revisions
• Integrating Power Lab Models into the classroom
• Three-Phase Power System Demonstration using Live Editor
Summary and Acknowledgements
Importance of Engineering Labs
Lab Restrictions
• Single bench area – very confined
• Single set of equipment / hardware
Result
• Logistical nightmare in attempting to perform labs in a team setting
Solution
• Develop virtual labs
Jan2021
Independent
Sept – Nov2020 study with
graduate and
Junior class Senior students to
July2020 – perform the virtual continue Power
Aug2020 Power labs Labs
June2020 Continued lab development
development
Started learning using Specialize
Early June2020 Simulink and Power Systems
developing initial
Met with MathWorks models using
May2020 - download free Simscape
MATLAB/Simulink Electrical
Selected
MathWorks
Simulink to
develop Virtual
Power Labs
Virtual Power Labs Design Features
Control Panel
• Hand-input changes in the lab’s parameters
• Display performance output for each change in input
DC Shunt Motor
• 10 HP / 1750 RPM
• DC Terminal Voltage: adjustable DC voltage, 0 – 300 V DC
• Applied Mechanical Load Torque: adjustable load torque, 0 – 200 N-m
Synchronous Generator
• Synchronous Generator: 10.2 KVA, 460 V rms, 60 Hz, 1800 RPM, round rotor, Y-connected
• Parallel RLC load with adjustable circuit element values
• Adjustable generator speed, 0-3600 RPM, and field voltage, 0 – 150 V DC
ECE 3033 Virtual Lab Control Panel Technical Details
DC Shunt Motor
• Control Panel: adjusts the terminal voltage and applied mechanical torque, displays load,
armature and field currents, load and induced torques, terminal voltage, powers, and
electrical losses
Synchronous Generator
• Control Panel: adjust the generator speed and field voltage, displays the generator speed,
induce torque, output real and reactive powers, power factor angle, and electric frequency
Simulink / Simscape: Three-Phase Power System Lab Demonstration
Student Feedback – Comparing Virtual Lab to Hardware Lab
How did you feel about using virtual labs with Simulink? Did you have a
preference compared to hardware?
• I liked using the virtual labs. I feel it was equally helpful in learning the material as using
hardware. I think using hardware is more enjoyable at times because it feels more hands-on,
however, the simulated labs were less stressful. Hardware also allows for
troubleshooting opportunities, which was not available for simulated labs.
• The simulations were a great opportunity to test a wide range of values that would
normally be constricted in a lab setting. Simulations avoid safety risks and device
constraints.
• Hardware provides technical experience and produces visual results, while Simulation
provides an efficient way to observe large data sets and trends from a system. Overall, I
believe that using both hardware and simulation for a lab would be most beneficial.
Student Feedback: Virtual Lab Benefits
Are there any benefits that you can say you saw using a virtual lab over a
physical one?
• In my opinion, virtual labs allowed us to see what would happen theoretically in reality;
however, I am a proponent of physical labs, where one can easily interact and understand the
material more comprehensively.
• So, I guess what I’m saying is I definitely prefer Simulink/Virtual labs for trying to
understand the theory behind things, because I think they’re easier to collect and analyze
data. However, I also think that doing physical labs, in order to understand how to use
the hardware, is just as necessary. Simulink labs would be a very useful addition to any lab
class, if added in the right way.
Benefit of Virtual Labs
Student Benefits
• Gave students a feel for theory/concepts via interactive controls to understand their
behavior in real-time
• Labs available 24/7 – better match to student schedule
• Improve their comfort level and confidence by working with the virtual lab
University Benefits
• Lower lab costs – no lab maintenance – no more equipment cost – no lab assistant
• Easier to stay current with technology
• Allow for virtual locations
• Address changing student populations and demographics -- changing student background
experience – available for a wider student audience
Add Warnings
• “You let out the magic smoke”
Classroom lecture
• Introduces Theory/Concepts/Equations
• Work problems