Day01 - 02-Intro To OpenDSS
Day01 - 02-Intro To OpenDSS
Day01 - 02-Intro To OpenDSS
Workshop
Introduction to OpenDSS
Roger C. Dugan
EPRI Knoxville, TN
www.epr i . co m © 2019 Electric Power Research Institute, Inc. All rights reserved.
Instructor
Equip planners & Dev elop tools to assess Define & support Assess & maximize
operators w ith complex problems new workforce use of new
new processes efficiently & effectively skillsets technologies
▪ We are Recording
▪ Advanced distribution analysis platform that ▪ Brief history and current usage
enables engineers to perform complex – Developed/designed in 1997 to capture the time
distribution analysis and spatial affects of distributed energy resources
▪ Flexible and customizable solution designed – Open-sourced in 2008 to coordinate and advanced
specifically to meet the challenges facing smart grid assessments
distribution engineers – Primary modeling and simulation platform used to
▪ Enables engineers to easily model both enable execution of cutting-edge research
traditional and advanced distribution
technologies, resources, assets, and controls
▪ Leveraged throughout the industry for modeling
and simulating advanced distribution applications
▪ Designed from the beginning to capture the time
and spatial affects of distributed energy
resources
Mid-Feeder
▪ Energy impact analysis
voltage (pu)
1.035
▪ DER protection impacts
1.03
▪ Power quality (harmonics/flicker) Without PV
1.025
▪ Long-range planning studies 04 06 08 10 12
Hour
14 16 18 20
100
|Z| ohms
No Capacitors
10
6000kvar
12000kvar
18000kvar
0.1
1.1 5.3 9.4 13.6 17.8 21.9 26.1 30.3 34.4
Harmonic Number
▪ Heritage
– Harmonics solvers rather than power flow
▪ Gives OpenDSS extraordinary distribution system modeling capability
– Simpler to solve power flow problem with a harmonics solver than vice-
versa
– More like EMT or Dynamics model than typical Distribution Power Flow
▪ Supports all
rms steady-state (i.e., frequency domain) analyses
commonly performed for utility distribution system planning
– And many other types of analyses
– Original purpose: DG interconnection analysis
▪ What it Isn’t
– An Electromagnetic transients (EMT)solver (Time Domain)
▪ It can solve Electromechanical transients
– Frequency Domain => “Dynamics”
– All solutions are in phasors (complex math)
– Not a “Power Flow” program
– Not a radial circuit solver
▪ Does meshed networks just as easily
– Not a distribution data management tool
▪ It is a simulation engine designed to work with data extracted from one
or more utility databases
▪ Needed for
– DG analysis
– Renewable generation
– Energy efficiency analysis
– PHEV and EV impacts
– Other proposed capacity enhancements that don’t follow typical
loadshapes
▪ A key feature
is that controls are modeled separately from the
devices being controlled
– Capacitors (CapControl element)
– Regulators/tapchangers (RegControl element)
▪ Control Modes
– Static
▪ Power flows with large time steps
– Time
▪ Control queue employed to delay actions
▪ Control acts when time is reached
– Event
Inf. Bus
(Voltage, Angle)
Power Delivery
System
Comm
Msg Queue 1
Power Conversion
Element
("Black Box")
Control
Center
Comm
Msg Queue 2 Control
Scripts
COM
Interface Main Simulation Engine
User-
Written
Scripts, DLLs
Results
▪ OpenDSS Works In
– Phase domain
– Actual volts and amps
– Symmetrical components and per units not used inside the program !! --
Input and output only!
▪ Simple Resistor
R = 1/G
I1 I2
V1 V2
I1 G -G V1
=
I2 -G G V2
Yprim
▪ LINE model
I1 R + jX I2
jB1 jB2
V1 V2
Yprim
▪ And it works!
VSOURCE
YSYSTEM
(Norton Equiv.)
V1
I1
V2
I2
…
… YSYSTEM
VS
IS
= …
…
VL1
IL1 NxN
…
… (Sparse)
VL2
IL2
…
…
VN
IN
General Concept
Added into Injection
Current Vector
Compensation
Yprim Current
Compensation Phase 1
Yprim Current
Compensation Phase 2
3 Yprim Current
4
34 w w w . e p ri . c om © 2019 Electric Power Research Institute, Inc. All rights reserved.
Load - 3-phase Delta connected
Compensation Phase 1
Yprim Current
1
Compensation Phase 2
Yprim Current
▪ When the voltage goes out of the normal range for a load the
model reverts to a linear load model
– Note: to solve some of the IEEE Radial Test feeders and match the published results,
you have to set Vminpu to less than the lowest voltage published (usually about 0.80
per unit)
1.3
Const Z
1.2
1.1
105%
1 (Defaults*)
0.9
95%
|I| = |S/V| 0.8
PU Voltage
0.7
0.6
Const Z
0.5
New Method (2014)
0.4
0.3
ALL Elements
PC Elements
Comp. Currents
I1
I2 Node
Iinj =
Y V
Voltages
Im
Iteration Loop
ALL Elements
PC Elements
Comp. Currents
I1
I2 Node
Iinj =
Y V
Voltages
Im
Iteration Loop
…until converged
Initialize
Solve Electrical
Power Flow Solution
Circuit
(Controls Static)
Push delayed
actions onto
Sample the Control Queue
Control Elements
Execute Control
Actions, If Any Pop delayed
actions off
Control Queue
No Control Yes
Actions Solution Done
Done?
▪ This solution method requires that the first guess at the voltages
be close to the final solution
– Not a problem for daily or yearly simulations
▪ Present solution is a good initial guess at next time step
– First solution is often most difficult
V
Si=ViIi*=Pi+jQ i
Sloss = Si
DSS Executive
Commands Options
Circuit Solution
V [Y] I
Class Object 1
Property Definitions Property Values
Methods
Class Property Editor
Yprim
Object n
Property Values
Methods
Yprim
States