Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
K.U.Leuven ESAT/Electa
K.U.Leuven ESAT/Electa
Introduction
o Commercial Software
Fully-featured Steep learning curve Computationally efficient Implementation details and models hidden from users Not always well suited for education and research
o Academic Software
Often open-source Can be adapted High level programming language (Matlab,) Easier to use
K.U.Leuven ESAT/Electa
Why MatDyn?
o MATPOWER
Only PF and OPF Very easy to use Easy scripting Philosophy:
o PSAT
Fully-featured: stability, power flow, OPF, bifurcation analysis, GUI, Wide range of features makes the code involved Hard to modify
It is intended as a simulation tool for researchers and educators that is easy to use and modify. MATPOWER is designed to give the best performance possible while keeping the code simple to understand and modify.
K.U.Leuven ESAT/Electa
Why MatDyn?
o MATPOWER
Only PF and OPF Very easy to use Easy scripting Philosophy:
o PSAT
Fully-featured: stability, power flow, OPF, bifurcation analysis, GUI, Wide range of features makes the code involved Hard to modify
It is intended as a simulation tool for researchers and educators that is easy to use and modify. MATPOWER is designed to give the best performance possible while keeping the code simple to understand and modify.
MatDyn: extending use of MATPOWER to dynamic analysis, while strictly adhering to its philosophy
K.U.Leuven ESAT/Electa 5
MatDyn Goal
o Seamless integration in MATPOWER
Uses same case files for PF data No MATPOWER files changed Uses equivalent scripts and syntax:
K.U.Leuven ESAT/Electa
Example
o MATPOWER > options = mpoption; > runpf(case9,options); o MatDyn > options = mdoption; > rundyn(case9,case9dyn,event,opt ions);
K.U.Leuven ESAT/Electa
Implementation
o Challenge: to keep the o Trade-off between code simplicity and code simple accuracy or features o Problem: dynamic leading to choices on simulation inherently Simultaneous vs more complicated than partitioned scheme PF/OPF How to solve algebraic equations o Solution: design Disallowing generator criteria and choices on transient saliency implementation Disallowing non other
than constant impedance loads
K.U.Leuven ESAT/Electa 8
F = differential equations G = algebraic equations X = dynamic state variables Y = algebraic state variables P = parameters
K.U.Leuven ESAT/Electa
o Simultaneous
Solve system simultaneously
o Partitioned
Solve G for Y and then Solve F for X Sequential integration of equipment: generators, governors, Code easy to read
K.U.Leuven ESAT/Electa
10
o Remark
Would not be acceptable for commercial program For software geared towards education and research, such an approach is deemed acceptable
o Consequence: algebraic equations are linear, can be solved very efficiently in MATLAB by LU factorization of Ybus
K.U.Leuven ESAT/Electa
11
MatDyn
K.U.Leuven ESAT/Electa
12
K.U.Leuven ESAT/Electa
13
Solvers
K.U.Leuven ESAT/Electa
14
Applications Education
o Used in power system course o Example: implement fossil-fueled single reheat tandem-compound turbine with governor
K.U.Leuven ESAT/Electa
15
Applications Research
o Research on multi-terminal VSC HVDC o Example: dynamic simulation of line outage in sixterminal VSC HVDC system
K.U.Leuven ESAT/Electa
16
MatDyn: Status
o o o o
http://www.esat.kuleuven.be/electa/teaching/matdyn/ Used in Belgium, China, India, UK, Brazil, Python port underway (Pylon, by Richard Lincoln) Support: minimal (author not at university anymore)
17
K.U.Leuven ESAT/Electa
K.U.Leuven ESAT/Electa
18
Conclusion
o Easy-to-use power system dynamic simulation tool o Synergy with MATPOWER o Applications in research and education o We hope MatDyn can be of use to the power system community o The software including source code and full documentation are available for free download