Professional Documents
Culture Documents
Status: DRAFT
Version 1.5
SunSpec
Inverter
Models
SunSpec
Alliance
Interoperability
Specification
SunSpec
Alliance
Inverter
Workgroup
John
Nunneley,
Bob
Fox,
Christian
Cox,
Greg
Madianos,
John
Blair,
John
Daharsh,
Soonwook
Bill
Randle,
Hong,
Martin
Beran,
Brian
Lydic,
Jose
Gomez,
Lu
Jiang,
Motoko
Furukawa,
Ralf
Kaisler,
Andreas
Schacht,
Søren
Bækhøj
Kjær,
Bill
Reaugh,
Bob
Schmitt,
Brett
Francis,
Bryan
Thomas,
Jim
Perkinson,
John
Altstadt,
Richard
S
cott,
Sebastian
Hassell,
Tim
McKernan,
Todd
Miklos,
Yaron
Binder,
Francisco
Ancin,
Tom
Tansy
ABSTRACT
The
SunSpec
Alliance
Interoperability
Specification
suite
consists
of
the
following
documents:
-‐ SunSpec
Technology
Overview
-‐ SunSpec
Information
Model
Specification
-‐ SunSpec
Information
Model
Reference
Spreadsheet
-‐ Collection
of
SunSpec
Device
Category
Model
Specifications
-‐ SunSpec
Plant
Extract
Document
This
document
describes
the
inverter
model
of
the
SunSpec
Alliance
interoperability
specification.
This
document
may
be
used,
copied,
and
furnished
to
others,
without
restrictions
of
any
kind,
provided
that
this
document
itself
may
not
be
modified
in
anyway,
except
as
needed
by
the
SunSpec
Technical
Committee
and
as
governed
by
the
SunSpec
IPR
Policy.
The
complete
policy
of
the
SunSpec
Alliance
can
be
found
at
www.sunspec.org.
Prepared by the SunSpec Alliance
Change
History,
Inverter
Control
&
Monitoring
Models
Version
Date
Description
Version
0.0c
01-‐06-‐2012
Change
var
setting
in
Volt-‐VAr
array
from
%Wmax
to
%avail
vars.
Add
MPPT
block.
Change
Dynamic
VAr
to
Dynamic
Reactive
Current.
Add
description
for
control
mode
enumerations.
Add
new
appendix
A
for
additional
basic
monitoring
points;
rename
existing
appendix
A
to
appendix
B.
Version
0.0f
01-‐16-‐2012
Move
Modbus
maps
to
separate
spreadsheet
document.
Add
figures
and
descriptive
text
for
various
control
modes.
Version 0.1 01-‐18-‐2012 Update associated map spreadsheet based on Jan 18 meeting.
Version 0.2 01-‐25-‐2012 Minor updates based on Jan 25 meeting.
Version
0.2a
01-‐27-‐2012
Add
new
figure
showing
example
chained
control
blocks.
Remove
text
mentioning
a
corresponding
floating
point
map.
Remove
additional
DC
measurements
from
Appendix
A.
Version
0.3
02-‐07-‐2012
Add
text
regarding
lifetime
energy
accumulations.
Update
figures
1,
3
and
7.
Add
DC
measurements
back
into
Appendix
A.
New
SunSpec
logo.
Add
meaning
for
VAR
setting
in
volt-‐var
arrays.
Change
“VarXXX”
to
“VArXXX”
and
Pref
to
WRef
to
match
IEC
nomenclature.
New
figures
for
dynamic
reactive
current
support.
Version
0.5
02-‐17-‐2012
Reword
parts
of
the
Dynamic
Reactive
Current
support
section
to
match
the
figures
(11
&
12).
Add
text
to
Nameplate
Ratings
and
Basic
Settings
blocks
for
positive
and
negative
VARs
and
leading
and
lagging
power
factor.
Add
text
to
Measurements
block
for
new
status
limit
bit
mask.
Add
Acknowledgements
section.
Version
0.8
04-‐27-‐2012
Replace
figure
7
and
add
table
1
with
info
from
latest
IEC
61850-‐90-‐7
draft
21.
Use
short
names
when
referring
to
data
elements.
Add
statement
of
representation
of
percentages.
Version
0.9
06-‐26-‐2012
Update
figures
3,
7,
8
and
18
with
info
from
IEC
61850-‐90-‐7
draft
27a.
Delete
original
figure
4.
Clarify
text
for
low
pass
filter
on
independent
variable
in
curves.
Recommend
four
curves
of
10
points
each
for
Watt-‐PF
array
for
consistency
and
scheduling.
Increase
recommended
number
of
points
for
LVRT/HVRT
curves
from
10
to
16.
Change
function
name
of
“Static
Volt-‐VAR”
to
“Volt-‐VAR”.
DRAFT
11
06-‐02-‐2013
Standardization
on
EEI
sign
convention
for
Power
Factor
notation.
• Replace
two
quadrant
VAr
and
PF
settings
with
four
quadrant
values.
• Add
new
LFRT/HFRT
models.
• Increase
minimum
array
size
to
20
points
for
all
curves.
• Add
recommendations
for
handling
of
errors
and
unsupported
values/enumerations.
DRAFT
12
06-‐19-‐2013
Clarify
behavior
of
Enable
registers.
Cleanup
up
terminology
(“function”
and
“block”
now
“model”
in
most
cases).
DRAFT
14
03-‐25-‐2015
Combine
Inverter
Monitoring
Spec
into
this
Monitoring
and
Control
specification,
and
include
references
to
the
Comprehensive
Data
Model
and
Modbus
Map.
Version 1.5 04-‐06-‐2015 Updated descriptions. Underlying model definitions are unchanged.
Change
History,
Monitoring
Specification
Change
history
for
the
Inverter
Monitoring
Specification.
Revision
Date
Reason
Approved
1.1
04-‐01-‐2013
Published
“Inverter
Models
v1.1”
on
website
Approved
1.2
06-‐01-‐2013
Updating
logo,
replace
point
names
Adding
MPPT
Model
to
collection
Contents
Introduction
................................................................................................................................................................
6
Model
Headers
...........................................................................................................................................................
7
Inverter
Data
Models
and
Modbus
Maps
.......................................................................................................
7
Monitoring
Data
Element
Types
........................................................................................................................
7
Inverter
Control
Models
........................................................................................................................................
8
Nameplate
Ratings
(Model
120)
...................................................................................................................
9
Basic
Settings
(Model
121)
...........................................................................................................................
10
Measurements
and
Extended
Status
Reporting
(Model
122)
.......................................................
11
Immediate
Controls
(Model
123)
..............................................................................................................
12
Basic
Storage
Control
(Model
124)
...........................................................................................................
13
Pricing
Signal
(Model
125)
...........................................................................................................................
13
Volt-‐VAR
Arrays
(Model
126)
.....................................................................................................................
13
Frequency-‐Watt
Control
(Model
127,
Model
134)
.............................................................................
14
Dynamic
Reactive
Current
(Model
128)
.................................................................................................
16
LVRT
Arrays
(Model
129,
Model
137)
.....................................................................................................
18
HVRT
Arrays
(Model
130,
Model
138)
....................................................................................................
19
Watt-‐Power
Factor
Array
(Model
131)
...................................................................................................
19
Voltage-‐Watt
Arrays
(Model
132)
.............................................................................................................
20
Basic
Scheduling
(Model
133)
.....................................................................................................................
20
LFRT
Array
(Model
135)
...............................................................................................................................
21
HFRT
Array
(Model
136)
...............................................................................................................................
21
SunSpec
Inverter
Control
Procedural
Requirements
............................................................................
21
Modbus
Security
....................................................................................................................................................
21
Certification
.............................................................................................................................................................
22
References
................................................................................................................................................................
22
Introduction
The
SunSpec
Alliance
Interoperability
Specifications
describe
the
data
models
and
Modbus
register
mappings
for
devices
used
in
Renewable
Energy
systems.
This
document
describes
models
for
read-‐only
inverter
data
(monitoring)
as
well
as
support
of
programmed,
scheduled,
and
autonomous
inverter
control
operations.
Device
models
can
be
chained
together
per
the
SunSpec
Information
Model
Specification,
to
create
a
specific
implementation.
This
built-‐in
flexibility
removes
any
fixed
constraint
on
the
number
and
types
of
controls
that
can
be
incorporated
with
minimal
overhead.
To
allow
inverter
control
modes
to
be
optional
on
a
feature
basis,
unique
SunSpec
Models
are
defined
for
each
of
these
new
features.
This
allows
the
inverter
to
offer
a
set
of
capabilities
to
clients
and
for
those
clients
to
discover
the
capabilities
of
the
inverter
and
allow
a
client
to
skip
models
it
does
not
recognize
or
implement.
See
Figure
1
for
an
example
of
inverter
models
chained
together
to
create
an
inverter
implementation.
This
specification
applies
to
single-‐phase,
split-‐phase
and
three-‐phase
inverters.
SunSpec_ID
4x40001 Common Model SunSpec_ID
(1)
:
4x40070 Inverter Model
SunSpec_ID
(103)
:
4x40122 Nameplate Ratings
SunSpec_ID
(123)
:
4x40140 Basic Settings
SunSpec_ID
(124)
4x40170 Extended Meas.
:
:
4x40207 Immediate Controls
:
Figure
1:
Chained
Inverter
Control
Models
Note
that
the
SunSpec
Interoperability
Specifications
and
the
definition
of
data
models
are
open
to
revision.
We
strongly
suggest
that
you
visit
www.sunspec.org
and
download
the
latest
information
before
you
actually
begin
implementing
inverter
devices.
An
overview
of
SunSpec
Technology
and
the
SunSpec
Information
Model
Specification
are
included
in
the
download.
Model
Headers
The
following
top-‐level
data
elements
are
provided
to
describe
each
inverter
model.
• ID
–
A
well-‐known
value
–1xx
that
uniquely
identifies
this
model
as
an
inverter
model.
• Length
–
The
length
of
the
inverter
model
in
registers,
not
including
the
ID
or
Length
registers.
Models
for
monitoring
data
can
be
found
between
100
and
119
in
the
Information
Model
Reference
spreadsheet.
Many
control
points
are
specified
in
terms
of
percent
of
a
fundamental
setting
or
nameplate
rating
(e.g.,
percent
of
WMax
or
percent
of
VRef).
Unless
otherwise
stated,
data
elements
with
units
of
percent
are
integer
values
from
0
to
100
and
a
scale
factor
of
0.
In
many
instances,
a
scale
factor
register
is
provided
to
allow
higher
resolution
(e.g.,
a
value
of
124
with
a
scale
factor
of
-‐1
represents
12.4%).
For
the
purposes
of
this
document,
any
references
to
power
factor
or
PF
means
cos(ɸ)
(defined
as
cosine
of
the
phase
angle
between
the
fundamental
voltage
and
a
current),
using
the
EEI
power
factor
sign
convention
(Figure
6).
Most
of
the
control
models
include
a
time
window,
reversion
timeout
value
and
ramp
time.
The
time
window
is
a
period
of
time
within
which
the
inverter
randomly
delays
before
beginning
execution
of
the
command.
This
helps
prevent
a
groups
of
inverters
from
changing
state
or
operating
level
at
the
exact
same
time.
The
reversion
timeout
value
(if
non-‐zero)
specifies
a
time
for
the
requested
change
to
revert
to
its
default
state.
A
timeout
value
of
zero
means
the
change
persists
until
another
change
is
made.
If
a
reversion
timer
expires
and
control
reverts
to
its
default
state,
any
bits
in
the
StActCtl
register
and/or
associated
enable
register,
if
supported,
must
be
updated
to
reflect
the
new
state.
The
ramp
time
is
a
fixed
time
in
seconds,
over
which
the
inverter
settings
are
to
transition
from
their
pre-‐setting
level
to
their
post-‐setting
level.
The
purpose
of
this
parameter
is
to
prevent
sudden
changes
in
output
as
a
result
of
the
receipt
of
a
new
command
(Figure
2).
Figure
2:
Example
Time
Window
and
Ramp
Time
Many
curve
based
controls
also
provide
settings
for
a
low
pass
filter
and/or
maximum
increment
and
decrement
gradients.
The
low
pass
filter
is
applied
to
the
independent
variable
of
the
curve
while
the
gradients
are
applied
to
the
dependent
variable
(Figure
3).
The
low
pass
filter
is
specified
by
RmpPT1ms,
the
time,
in
seconds
to
achieve
a
change
of
3τ
(95%)
.
RmpDecTmm
and
RmpIncTmm
(in
percent
of
output
change
per
minute)
provide
the
limiting
linear
gradients
to
avoid
sharp
shifts
at
the
breakpoints
of
the
piecewise
linear
curve.
Utility Defined
Low Pass Curve Shape Linear
Filter Gradients
Figure
3:
Transfer
Function
for
Curve-‐Based
Controls
Figure
4:
Nameplate
and
Operational
Settings
(producer
frame
of
reference)
VRefOfs = 4V
Local Bus
Local Power Point of Common
System with
Coupling (PCC)
VRefOfs = 3V Line Resistors
VRef = 120V
DER interconnections
Figure
5:
Connection
Points
Time
settings
are
included
to
support
the
use
of
schedules
and
time
stamping
of
events.
Time
source,
TmSrc,
is
a
string
that
defines
the
source
of
the
inverter
time
reference.
Possible
strings
could
include
“RTC”,
“SNTP”,
GPS”,
“DNP3”,
”Modbus”,
etc.
The
current
time,
Tms,
is
read/write
register
that
can
be
used
to
read
the
current
inverter
time,
as
well
as
set
the
time
if
the
time
source
is
Modbus
or
the
inverter
requires
an
initial
time
setting
for
its
internal
real
time
clock
(RTC).
Since
there
is
no
practical
use
for
representing
time
in
the
past,
Tms
is
define
as
an
unsigned
32-‐bit
integer
with
an
epoch
of
01
Jan
2000
00:00:00
UTC.
Quadrant 1
Quadrant 2 90°
A)
Imported /Received (VAR)
er
en
ow
tP
tP
ow
en
er
Reactive Power
Reactive Power
ar
(V
p
Ap
A)
θ θ
Active Power Active Power
Exported/Received (W) Imported/Delivered (W)
(-kW, -kWh) (+kW, +kWh)
180° 0°
Active Power Active Power
Exported/Received (W) Imported/Delivered (W)
θ θ
Exported/Received (VAR)
Exported/Received (VAR)
A)
Ap
(V
p
er
ar
ow
en
Reactive Power
Reactive Power
tP
tP
en
ow
ar
er
p
(V
Ap
A)
System Voltage
Underexcited
P2 (103%VRef,
Q = -50%WMax)
P3 (101%VRef,
Q = -50%WMax)
Figure
7:
Volt-‐VAR
Array
Setting
with
Hysteresis
Overexcited
P3 (101%VRef,
Q = 0%WMax)
System Voltage
P2 (99%VRef,
Underexcited Q = 0%WMax)
P4 (103%VRef,
Q = -50%WMax)
Figure
8:
Volt-‐VAR
Array
Setting
with
Deadband
Hysteresis
a ctivated
by
HystEna
Hysteresis
Example
Assumption for the example:
Delta Active Power Generated
Figure
9).
Delta Active Power Generated
Hysteresis
a ctivated
by
HystEna
Hysteresis
Example
Assumption for the example:
Delta Active Power Generated
The
curve-‐based
approach
(Model
134)
consists
of
one
or
more
frequency-‐watt
arrays,
each
of
which
consists
of
frequency-‐watt
pairs:
a
set
of
frequencies
and
their
corresponding
Watt
levels
that
will
be
treated
as
a
piecewise
linear
function
with
hysteresis
(Figure
10).
The
frequency
setting
is
the
actual
frequency
in
Hertz.
The
watt
setting
is
0%
to
100%
of
the
maximum
available
watts
(WMax).
In
a
storage
system,
the
watt
setting
may
be
negative
to
indicate
the
system
should
absorb
power
from
the
grid
to
try
and
reduce
the
frequency
even
further.
Hysteresis
is
supported,
as
well
as
an
optional
snapshot
mode.
A
minimum
of
four
curves
with
20
points
each
is
recommended.
Figure
10:
Curve-‐Based
Frequency-‐Watt
Control
with
Hysteresis
In
some
cases,
it
may
be
desirable
to
limit
and
reduce
power
output
relative
to
the
instantaneous
output
power
at
the
moment
when
frequency
deviates
to
a
certain
point
(snapshot).
To
enable
this
capability,
each
frequency-‐watt
mode
configuration
may
optionally
include
the
following
parameters,
in
addition
to
the
array:
SnptW,
WRefStrHz
and
WRefStopHz.
Figure
11:
Dynamic
Reactive
Current
Support
The
settings
identify
the
boundaries
of
the
reactive
current
feed-‐in
zones
identified
by
the
yellow
shaded
areas
(Figure
12).
The
use
of
the
deadband
between
DbVMax
and
DbVMin
allows
the
activation
of
this
behavior
for
a
voltage
sag
or
swell
to
be
thought
of
as
an
“event”.
The
event
begins
when
the
present
measured
voltage
moves
above
the
moving
average
voltage
by
DbVMax
or
below
by
DbVMin,
as
shown
by
the
blue
line
in
Figure
12
and
labeled
as
t0.
In
the
example
shown,
reactive
current
support
continues
until
a
time
HoldTmms
after
the
voltage
returns
above
DbVMin
as
shown.
In
this
example,
this
occurs
at
time
t1,
and
this
event
continues
to
be
considered
active
until
time
t2
(which
is
t1
+
HoldTmms).
An
optional
blocking
zone,
inside
which
additional
reactive
current
support
is
not
provided
can
be
defined
by
the
three
parameters
BlkZnTmms,
BlkZnV,
and
HysBlkZnV.
Figure
12:
Activation
Zones
for
Reactive
Current
Support
Figure
13:
Use
of
Curves
to
Define
LVRT
Area
Figure
14:
Use
of
Curves
to
Define
HVRT
Area
using
signed
power
and
power
factor,
this
curve
can
operate
in
all
four
quadrants.
A
minimum
of
four
arrays
with
20
points
each
is
recommended.
Overexcited
0.90
PF Generated PFStr, PFExtStr
100%
WStop (Wmax)
1
Active Power Feed-In
WStr
Underexcited
Figure
15:
Example
Watt-‐PF
Curve
Figure
16:
Example
Voltage-‐Watt
Curve
Two
types
of
pricing
schedules
are
defined:
one
where
pricing
is
the
control
variable
and
another
where
pricing
is
the
controlled
variable.
In
the
first
type,
the
schedule
is
an
array
of
pricing
values
and
their
corresponding
dependent
operation
(set
power
output
level,
charge/discharge
gradients,
VAR
output,
etc.
In
the
other
case,
the
control
variable
is
time
and
the
dependent
variable
the
actual
pricing
value
for
real
or
reactive
power.
This
allows
a
controller
to
preprogram
a
day-‐ahead
pricing
schedule.
This
schedule
could
run
in
parallel
with
the
first
type
of
pricing
schedule
or
could
run
on
its
own
with
the
actual
inverter/storage
operation
determined
by
manufacturer
determined
controls.
A
minimum
of
four
schedules
with
10
entries
each
is
recommended.
Modbus
Security
It
is
recognized
that
where
direct
control
of
an
inverter’s
power
generation
capability
is
concerned,
there
is
a
concern
that
only
authorized
personnel
or
entities
are
allowed
to
make
changes
to
the
operating
settings.
The
Modbus
standard
does
not
include
any
mechanism
to
login
or
authenticate
a
master
to
a
slave,
or
a
slave
to
a
master
and
has
historically
relied
on
physical
security.
SunSpec
does
not
plan
to
create
proprietary
extensions
to
the
Modbus
standard
for
authentication.
• The
device
can
implement
‘Permitted
Host’
lists,
preventing
control
actions
from
unauthorized
IP
peers.
• The
device
can
limit
control
actions
to
Modbus/TCP
clients
connecting
with
SSL/TLS,
which
can
include
certificate-‐based
authentication.
• Many
cellular
and
broadband
gateways
include
VPN
end-‐point
functionality,
which
allows
remote
hosts
to
securely
tunnel
standard
Modbus/TCP
via
a
bank-‐quality
VPN
link
to
remote
sites.
Certification
If
you
would
like
to
have
your
product
SunSpec
Certified,
please
read
the
information
available
at
http://sunspec.org/sunspec-‐certified-‐program/
References
The
work
in
this
document
is
based
on
past
and
on-‐going
work
in
various
industry
and
standards
bodies,
including
IEC
TC57/WG17,
DNP3
User’s
Group
and
EPRI.
[1]
Specification
for
Smart
Inverter
Interactions
with
the
Electric
Grid
Using
International
Electrotechnical
Commission
61850,
EPRI,
Palo
Alto,
CA:
2010.
1021674.
[2]
DNP3
Profile
for
Basic
Photovoltaic
Generation
and
Storage,
DNP3
AN2011-‐001,
Version
2011-‐03-‐21.
[3]
IEC
61850
Object
Models
for
Photovoltaic,
Storage
and
Other
DER
Inverters,
IEC
61850-‐90-‐7,
draft
ver
27a
[4]
Common
Functions
for
Smart
Inverters.
EPRI,
Palo
Alto,
CA:
2011.
Product
ID
Number
1023059
Acknowledgements
Figures
2,
4,
5,
9,
10,
11,
13,
14,
16
courtesy
of
EPRI
1023059
(reference
4).
Figures
3,
6,
7,
8,
12,
15
and
Table
1
courtesy
of
IEC
61850-‐90-‐7
(reference
3).