Professional Documents
Culture Documents
OpenDSS
PABLO RODRÍGUEZ PA JARÓN
What is OpenDSS?
• Developed by EPRI
• Power system simulator: it works in frequency domain
• Circuits are declared and solved with a script
• It works in electrical magnitudes (not in p.u.)
• Some functionalities:
• Load flow
• Iterative load flow
• Harmonics
• Short circuits
• …
• Does not solve in time domain, but it also has a module for transient calculations
Where to find OpenDSS
It is useful writting OpenDSS scripts in a text editor rather tan in OpenDSS.exe command
window
• I find Notepad++ very friendly to use: https://notepad-plus-plus.org/downloads/
• It understands OpenDSS syntax (and colours the code according to it) if you do this
setting:
https://github.com/tshort/OpenDSS/blob/master/Distrib/Examples/SyntaxFiles/OpenD
SS_syntax_NotepadPlusPlus.xml
• Then, from the OpenDSS you can load any circuit written in a separate file by clicking
“Compile” and redirecting to the file (.txt and .dss are allowed)
This is just a personal preference, but it is worth it when large circuits are used
A little bit about syntax and commands
• Elements:
• Lines • Monitors
Two terminals
• Transformers • Energy meters
Grid
115 kV 115/12.47 kV Line type 336 ACSR Three phase PQl load
Icc = 3 kA Dy 1 Mi 12.47 kV
20 MVA 1 MW
X = 10% PF 0.95
It requires some initialization and the creation of variables to call the circuit, its elements, properties and
atributes
In general:
• We can write in the OpenDSS Command Window from Matlab
• We can access declared variables, elements and properties through Matlab classes
• We can access the solution and all data in monitors or energy meters
These functionalities allow using Matlab power to design inputs into the circuit, as well as to treat, analyze and
plot circuit outputs
Exercise 3: OpenDSS and Matlab
115/12.47 kV
Dy
0.7 MVA
Line type 336 ACSR
X = 6%
1 Mi Three phase PQ load
12.47 kV
1 MW
PF 0.95
Red
Modify phases of connection of the single phase load (i.e. phase 1 to 2, phase 1 to 3, and
phase 2 to 3) and compare active power losses in the circuit
Compare to the case that this load was a three-pase load
Exercise 4: Tap transformer
115 ± 10% (0.625)/12.47 kV
Dy
0.7 MVA Línea tipo 336 ACSR
X = 6% 1 Mi Three phase PQ load
12.47 kV
1 MW
Fdp 0.95
Red
Calculate active power losses in the system for all possible combination of taps in the two
transformers.
Find the tap position in which each transformer should work so that losses in the system are the lowest