1 © 2013 MathWorks, Inc. SimPowerSystems Model and simulate electrical power systems Javier Gazzarri Tom Priestley Marc Semma General Electric
1 © 2013 MathWorks, Inc.
SimPowerSystems Model and simulate electrical power systems
Javier Gazzarri
Tom Priestley
Marc Semma
General Electric
2
𝑚𝑥 + 𝐵𝑥 + 𝑘𝑥 = F
𝑥 = 1
𝑚𝐹 − 𝑘𝑥 − 𝐵𝑥
3
Simulink
– Signal-based modeling
– Causal
R1
C1 v1
i +
_
R1
C1
i2
+
_ i3
i1 R2
C2 v2
Simscape
– Network-based modeling
– Acausal
4
Agenda
- Physical Modeling – A different way to think your design
- Electrical network modeling
- Asynchronous motor
- Grid synchronization
- C-code generation
- Power quality analysis
- Aircraft electrical network
- Fidelity vs. speed
5
Simscape
6
𝑉 − 𝑉𝑒𝑚𝑓 − 𝐼𝑅 = 𝐿𝑑𝐼
𝑑𝑡
𝑑2𝜃
𝑑𝑡2=
1
𝐽𝑇
𝑇 = 𝐾𝐼 𝑉𝑒𝑚𝑓 = 𝐾𝜔
7
Demo
8
SimPowerSystems
9
SimPowerSystems
Physical Modeling of
– Electrical power systems
– Electric drives
Model topology – schematic circuit
25 kV Distribution Network Discrete,
Ts = Ts s.
ABC
abc
Three-Phase Breaker
Voltage_B1_B3
PQ
Measurements
Iabc_B3
Vabc_B3
A B C
D-STATCOM
+/- 3Mv ar
Av erage
A B C
a b cBstatcom
A
B
C
a
b
c
B3
A
B
C
a
b
c
B2
A
B
C
a
b
c
B1
A B C
Arc Furnace
+
A B C
3 MW
0.2 Mvar
A
B
C
abc
n2
25kV / 600V
a
b
c
A
B
C
25 kV, 100MVA
System
N
A
B
C
25 KV
Source
a
b
c
A
B
C
21-km
Feeder
2-km
Feeder
A B C
1 MW
A B CA B C
FaultSimulation
10
Electrical System Analysis
Display steady-state V and I
Display impedance measurements
FFT analysis
Report generation
Multiple simulation modes
– Continuous
– Discrete
– Phasor
11
12
13
SimPowerSystems @ GE
14
SimPowerSystems @ GE
15
AC Asynchronous Motor
16
17
DEMO
Automatic C-Code Generation
18
Grid Connection
DEMO
19
After 9 cycles
Phase lock
20
Synchronization
Too early OK
21
Real-Time Testing
22
Real-Time Testing
23
Electrodynamics Associates
High-Performance Generator Controller
Simulink and xPC Target
Challenge To design a 200 KW generator capable of achieving
62,000 RPM
Solution Use MathWorks tools to model the generator, power
electronics system, and control loop; provide real-time
control for laboratory tests and the customer deliverable
Results Costly hardware prototypes avoided
Project deadlines met with automatically generated
code
Reusable models reduce future development time
“Other tools only allowed us to
view certain parameters on the
machine. Now, we can look at all
of them. MathWorks tools are
orders of magnitude better than
any other tool on the market.”
Jay Vaidya
Electrodynamics Associates
High-performance generator
controller.
Link to user story
23
24
Sharing Models
Model Developer
Simscape + SimPowerSystems
Model Users
Simscape
25
Summary
- Physical Modeling
- Simscape – A different way to think your system
- Physical network approach
- SimPowerSystems
- Physical modeling of electrical systems
- 3-phase power systems
- Power quality
- Control integration
- Grid synchronization
26
Thank You