![Page 1: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/1.jpg)
1
![Page 2: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/2.jpg)
2© 2017 The MathWorks, Inc.
Power Electronics Design and Simulation with Simscape
Power Systems
강효석과장 / Ph. D.
Application Engineer
MathWorks Korea
![Page 3: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/3.jpg)
3
Electrical Power System
GENERATION TRANSMISSION DISTRIBUTION
![Page 4: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/4.jpg)
4
Industry Needs of Power Electronics
Technology for the control and conversion of electric power
One of main technology to overcome energy problem
Key factor is energy conservation through high efficiency
![Page 5: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/5.jpg)
5
Power Electronics
OMRON
ABB
Alstom Grid
Sandia National
Laboratories
Diverse User in Power Electronics
![Page 6: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/6.jpg)
6
Introduction to
Simscape Power Systems
Enables physical modeling (acausal)
of electrical power systems
and electric drives
Electrical system topology
represented by schematic circuit
Used by electrical, system
and control engineers
to develop plant models
and test control systems
3.125 MVA, 2.4kV
25kV
2250 HP
Load
Breaker
![Page 7: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/7.jpg)
7
Working with Simscape Power Systems
With Simscape Power Systems you can:
– Quickly build electrical power system models
– Model synchronous and
asynchronous electric drives
– Perform common electrical
system analysis tasks
– Develop and test controls
– Generate code for improved performance
Simscape Power Systems is a tool for modeling
the generation, transmission, distribution,
and consumption of electrical power
![Page 8: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/8.jpg)
8
MathWorks Investment in Simscape
More than 15 years of acausal modeling
Steady advances in breadth and depth
of libraries and capabilities
2-Phase Fluid
In Simscape
Thermal Liquid
In Simscape
Magnetics
In Simscape
Pneumatics
In Simscape
Simscape Language
Simscape
Electronics
Real
Gas
Simscape
Fluids
Thermal
Liquid
Discrete
Events
3-D Vis. Improvements
AutodeskTranslator
Ideal Switching
Algorithm Introduced
Electric Drives
Library Introduced
ProEngineer
Translator
SolidWorks
Translator
Simscape
Driveline
Simscape
Multibody
Simscape
Simscape
Power SystemsIntf. Elements
Editing Mode
1998 2000 2002 2004 2006 2008 2010 2012 2014 2016 2018
Zero Cross.
Statistics
Simscape
Logging
Local
Solver
Simscape-Based
Libraries
Model
Statistics
Thermal effects
optional ports
Simscape-Based
Libraries
Simscape-Based
Libraries
Variable
Viewer
Detailed
MOSFETs
Runtime
Parameters
Runtime
Parameters
Runtime
Parameters
![Page 9: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/9.jpg)
9
Key Points
Physical component models
at various levels of fidelity are
necessary for Power Electronics
Modeling the plant and controller
in a single environment enables
system level optimization
Deploy the model as C code to other
simulation environments, or use it as a
standalone executable
Plant
+u y
Controller
s1 s2
s3
System
Actu
ato
rs
Sen
so
rs
C Code
Hardware-in-the-Loop
Simulators
Standalone
Executable Other
Simulation
Environments
Grid Model
![Page 10: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/10.jpg)
10
Agenda
Modeling electrical and electronic components
– Modeling Electrical Circuit : Buck Converter
– Battery Modeling using Simscape Power Systems
Designing control algorithms
Simulating in Real Time
Summary
![Page 11: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/11.jpg)
11
Agenda
Modeling electrical and electronic components
– Modeling Electrical Circuit : Buck Converter
– Battery Modeling using Simscape Power Systems
Designing control algorithms
Simulating in Real Time
Summary
![Page 12: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/12.jpg)
12
Demo : Small Microgrid System with Energy Storage
PV Converter
BMS Control
Battery
Grid
![Page 13: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/13.jpg)
13
Small Microgrid System with Energy Storage
![Page 14: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/14.jpg)
14
Heuristic
Logic
Optimization
Logic
![Page 15: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/15.jpg)
15
Agenda
Modeling electrical and electronic components
– Modeling Electrical Circuit : Buck Converter
– Battery Modeling using Simscape Power Systems
Designing control algorithms
Simulating in Real Time
Summary
![Page 16: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/16.jpg)
16
High DC Voltage Low DC Voltage
DC-DC Converter (Buck Converter)
![Page 17: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/17.jpg)
17
Modeling Electrical Circuit – Buck Converter
![Page 18: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/18.jpg)
18
Agenda
Modeling electrical and electronic components
– Modeling Electrical Circuit : Buck Converter
– Battery Modeling using Simscape Power Systems
Designing control algorithms
Simulating in Real Time
Summary
![Page 19: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/19.jpg)
19
Battery Modeling using Simscape Power Systems
![Page 20: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/20.jpg)
20
Simscape Power Systems STLithium-Ion Battery Aging Model
Model the lifetime performance of a
battery storage system
– generic aging model with parameters tha
t can be obtained from manufacturer dat
asheets or simple experiments
R2017a New
Feature
![Page 21: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/21.jpg)
21
Agenda
Modeling electrical and electronic components
– Modeling Electrical Circuit : Buck Converter
– Battery Modeling using Simscape Power Systems
Designing control algorithms
Simulating in Real Time
Summary
![Page 22: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/22.jpg)
22
Simulating plant and controller in one environment
allows you to optimize system-level performance– Automate tuning using optimization algorithms
– Accelerate process using parallel computing
Designing control algorithms
Plant
+u y
Controller
s1 s2
s3
![Page 23: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/23.jpg)
23
Defining Control Logic for Battery Management System
![Page 24: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/24.jpg)
24
Defining Control Logic for Battery Management System
Adapted from: Smart EnergySystems Website
http://www.smart-energy.ag/products/ac-gekoppelte-speicherlosung-smartenergy-ac/?lang=en
![Page 25: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/25.jpg)
25
Peak Demand Shift using Energy Storage
Adapted from: Smart EnergySystems Website
http://www.smart-energy.ag/products/ac-gekoppelte-speicherlosung-smartenergy-ac/?lang=en
![Page 26: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/26.jpg)
26
Implementation of Energy Management Logic
Ref: Liu 2011 - A Hybrid AC/DC Microgrid and Its Coordination Control
![Page 27: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/27.jpg)
27
Factoring in Variable Electricity Cost
Adapted from: Smart EnergySystems Website
http://www.smart-energy.ag/products/ac-gekoppelte-speicherlosung-smartenergy-ac/?lang=en
![Page 28: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/28.jpg)
28
Defining Control Logic for Battery Management System
![Page 29: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/29.jpg)
29
Agenda
Modeling electrical and electronic components
– Modeling Electrical Circuit : Buck Converter
– Battery Modeling using Simscape Power Systems
Designing control algorithms
Simulating in Real Time
Summary
![Page 30: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/30.jpg)
30
System
Model
System
Specification
Detect Integration Issues Earlier
Plant
+u y
Controller
s1 s2
s3
Controls engineers and domain specialists can work together to detect integration issues in simulation
– Convert models to C code for HIL tests
– Share with internal users with fewer licenses
– Share with external users while protecting IP
System
Ac
tua
tors
Se
ns
ors
![Page 31: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/31.jpg)
31
Process-in-the-Loop (PIL) & Hardware-in-the-Loop (HIL)
Simulation
![Page 32: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/32.jpg)
32
Integrate Your Models into Other Simulation Environments
Model can be converted
to C code
– Run in real-time to test
controller hardware (HIL)
– Standalone executable
(parameter sweeps)
– Integration with other
simulation tools
C Code
Hardware-in-the-Loop
Simulators
Standalone
Executable
Deploy the model as C code to other simulation
environments, or use it as a standalone executable
Other
Simulation
Environments
Grid Model
![Page 33: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/33.jpg)
33
Summary
Physical component models
at various levels of fidelity are
necessary for Power Electronics
Modeling the plant and controller
in a single environment enables
system level optimization
Deploy the model as C code to other
simulation environments, or use it as a
standalone executable
Plant
+u y
Controller
s1 s2
s3
System
Actu
ato
rs
Sen
so
rs
C Code
Hardware-in-the-Loop
Simulators
Standalone
Executable Other
Simulation
Environments
Grid Model
![Page 34: Power Electronics Design and Simulation with Simscape ......Electronics Real Gas Simscape Fluids Thermal Liquid Discrete Events 3-D Vis. Improvements AutodeskTranslator Ideal Switching](https://reader030.vdocuments.mx/reader030/viewer/2022040309/5f21a18ed4976543c4008b5f/html5/thumbnails/34.jpg)
34
Q&A