-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.yml
285 lines (246 loc) · 10.5 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
### Example config.yml
---
#server_hostname: 0.0.0.0:8443
#server: fd99:d694:f603:27ad:f8b9:8dff:fe27:c681 # CHANGED!!! June 27
server: fd99:d694:f603:27ad:400b:22ff:fe42:a1f2 # CHANGED!!! AUG 11
# Only include if we need to have dcap be available
http_port: 8080 # UNCOMMENTED 31 MAY... TESTING ACCESS
https_port: 7443
proxy_hostname: 0.0.0.0:8443
#server_hostname: 0.0.0.0:7443
#server_hostname: gridappsd_dev_2004:7443 # WHEN UNCOMMENTED GET ERROR, UNEXPECTED ARGUMENT, MAY 31
tls_repository: "./tls"
openssl_cnf: "openssl.cnf"
#server_mode: enddevices_register_access_only
server_mode: enddevices_create_on_start
# lfdi_mode: Determines what piece of information is used to calculate the lfdi
#
# Options:
# lfdi_mode_from_file - sha256 hash of certificate file's content.
# lfdi_mode_from_cert_fingerprint - sha256 hash of the certificates fingerprint.
#
# default: lfdi_mode_from_cert_fingerprint
#lfdi_mode: lfdi_mode_from_file
lfdi_mode: lfdi_mode_from_cert_fingerprint
# Create an administrator certificate that can be used from
# browser/api to connect to the platform.
generate_admin_cert: True
log_event_list_poll_rate: 60
device_capability_poll_rate: 60
# End Device
devices:
# SolarEdge SE6000H HD-Wave SetApp Enabled Inverter
- id: dev1
# DeviceCategoryType from ieee_2030_5.models.device_category
deviceCategory: FUEL_CELL
pin: 111115
programs:
- description: Program 1
# nameplate:
# rtgMaxW: 6000
ders:
- capabilities:
modesSupported: "1110000000000000"
type: 83
- capabilities:
# Bitmask with the following structure.
# Indication of support for each control mode function DERCapability::modesSupported
#
# 0 - Charge mode
# 1 - Discharge mode
# 2 - opModConnect (Connect / Disconnect -
# implies galvanic isolation)
# 3 - opModEnergize (Energize / De-Energize)
# 4 - opModFixedPFAbsorbW (Fixed Power
# Factor Setpoint when absorbing active
# power)
# 5 - opModFixedPFInjectW (Fixed Power
# Factor Setpoint when injecting active
# power)
# 6 - opModFixedVar (Reactive Power
# Setpoint)
# 7 - opModFixedW (Charge / Discharge
# Setpoint)
# 8 - opModFreqDroop (Frequency-Watt
# Parameterized Mode)
# 9 - opModFreqWatt (Frequency-Watt
# Curve Mode)
# 10 - opModHFRTMayTrip (High Frequency
# Ride Through, May Trip Mode)
# 11 - opModHFRTMustTrip (High
# Frequency Ride Through, Must Trip Mode)
# 12 - opModHVRTMayTrip (High Voltage
# Ride Through, May Trip Mode)
# 13 - opModHVRTMomentaryCessation
# (High Voltage Ride Through, Momentary
# Cessation Mode)
# 14 - opModHVRTMustTrip (High Voltage
# Ride Through, Must Trip Mode)
# 15 - opModLFRTMayTrip (Low Frequency
# Ride Throu
modesSupported: "1110000000000000"
# Item type for the DER.
# 0 - Not applicable / Unknown
# 1 - Virtual or mixed DER
# 2 - Reciprocating engine
# 3 - Fuel cell
# 4 - Photovoltaic system
# 5 - Combined heat and power
# 6 - Other generation system
# 80 - Other storage system
# 81 - Electric vehicle
# 82 - EVSE
# 83 - Combined PV and storage
type: 83
# Default available nameplate options where at a manufacturer's set.
# Active power rating in watts an unity power factor
rtgMaxW: 600
# Active power rating in watts at specified over-excited power factor
# rtgOverExcitedW:
# Over-excited power factor DERCapability::rtgOverExcitedPF
# rtgOverExcitedPF:
# Active power rating in watts at specified under-excited power factor DERCapability::rtgUnderExcitedW
# rtgUnderExcitedW:
# Under-excited power factor DERCapability::rtgUnderExcitedPF
# rtgUnderExcitedPF:
# Maximum apparent power rating in voltamperes DERCapability::rtgMaxVA
rtgMaxVA: 600
# Indication of reactive power and voltage/power control capability DERCapability::rtgNormalCategory
rtgNormalCategory: 1
# Indication of voltage and frequencyride-through capability category I, II, or III DERCapability::rtgAbnormalCategory
rtgAbnormalCategory: 1
# Maximum injected reactive power rating in vars DERCapability::rtgMaxVar
rtgMaxVar: 600
# Maximum absorbed reactive power rating in vars DERCapability::rtgMaxVarNeg
rtgMaxVarNeg: 600
# Maximum active power charge rating in watts DERCapability::rtgMaxChargeRateW
rtgMaxChargeRateW: 600
# Maximum apparent power charge rating in voltamperes; may differ from the apparent power maximum rating
# DERCapability::rtgMaxChargeRateVA
rtgMaxChargeRateVA: 600
# Nominal ac voltage rating in rms volts DERCapability::rtgVNom
rtgVNom: 120
# Maximum ac voltage rating in rms volts DERCapability::rtgMaxV
rtgMaxV: 128
# Minimum ac voltage rating in rms volts DERCapability::rtgMinV
rtgMinV: 116
# Reactive susceptance that remains connected to the Area EPS in the cease to energize and trip state
# DERCapability::rtgReactiveSusceptance
# rtgReactiveSusceptance:
# # Manufacturer DeviceInformation::mfID
# mfID:
# # Model DeviceInformation::mfModel
# mfModel:
# # Serial number DeviceInformation::mfSerNum
# mfSerNum:
# # Version DeviceInformation::mfHwVer DeviceInformation::swVer
# mfHwVer:
# swVer:
- id: dev2
deviceCategory: FUEL_CELL
pin: 12345
nameplate:
programs:
- description: Program 1
default_control: Control 1
controls:
- Control 2
- Control 3
curves:
- Curve 1
primacy: 89
controls:
- description: Control 1
setESDelay: 30
base:
opModConnect: True
opModMaxLimW: 9500
# setESHighFreq: UInt16 [0..1]
# setESHighVolt: Int16 [0..1]
# setESLowFreq: UInt16 [0..1]
# setESLowVolt: Int16 [0..1]
# setESRampTms: UInt32 [0..1]
# setESRandomDelay: UInt32 [0..1]
# setGradW: UInt16 [0..1]
# setSoftGradW: UInt16 [0..1]
- description: Control 2
- description: Control 3
events:
- control: 0
curves:
# Each element will can have the following structure.
# autonomousVRefEnable: If the curveType is opModVoltVar, then
# this field MAY be present. If the curveType is not opModVoltVar,
# then this field SHALL NOT be present. Enable/disable autonomous
# vRef adjustment. When enabled, the Volt-Var curve characteristic
# SHALL be adjusted autonomously as vRef changes and
# autonomousVRefTimeConstant SHALL be present. If a DER is able to
# support Volt-Var mode but is unable to support autonomous vRef
# adjustment, then the DER SHALL execute the curve without
# autonomous vRef adjustment. If not specified, then the value is
# false.
# autonomousVRefTimeConstant: If the curveType is opModVoltVar,
# then this field MAY be present. If the curveType is not
# opModVoltVar, then this field SHALL NOT be present. Adjustment
# range for vRef time constant, in hundredths of a second.
# creationTime: The time at which the object was created.
# CurveData:
# curveType: Specifies the associated curve-based control mode.
# openLoopTms: Open loop response time, the time to ramp up to
# 90% of the new target in response to the change in voltage, in
# hundredths of a second. Resolution is 1/100 sec. A value of 0 is
# used to mean no limit. When not present, the device SHOULD
# follow its default behavior.
# rampDecTms: Decreasing ramp rate, interpreted as a percentage
# change in output capability limit per second (e.g. %setMaxW /
# sec). Resolution is in hundredths of a percent/second. A value
# of 0 means there is no limit. If absent, ramp rate defaults to
# setGradW.
# rampIncTms: Increasing ramp rate, interpreted as a percentage
# change in output capability limit per second (e.g. %setMaxW /
# sec). Resolution is in hundredths of a percent/second. A value
# of 0 means there is no limit. If absent, ramp rate defaults to
# rampDecTms.
# rampPT1Tms: The configuration parameter for a low-pass filter,
# PT1 is a time, in hundredths of a second, in which the filter
# will settle to 95% of a step change in the input value.
# Resolution is 1/100 sec.
# vRef: If the curveType is opModVoltVar, then this field MAY be
# present. If the curveType is not opModVoltVar, then this field
# SHALL NOT be present. The nominal AC voltage (RMS) adjustment to
# the voltage curve points for Volt-Var curves.
# xMultiplier: Exponent for X-axis value.
# yMultiplier: Exponent for Y-axis value.
# yRefType: The Y-axis units context.
# Each curve MUST have between 1 and 10 elements in the curve_data list.
#
# DERCurve Type for each curve.
# 0 - opModFreqWatt (Frequency-Watt Curve Mode)
# 1 - opModHFRTMayTrip (High Frequency Ride Through, May Trip Mode)
# 2 - opModHFRTMustTrip (High Frequency Ride Through, Must Trip Mode)
# 3 - opModHVRTMayTrip (High Voltage Ride Through, May Trip Mode)
# 4 - opModHVRTMomentaryCessation (High Voltage Ride Through, Momentary Cessation
# Mode)
# 5 - opModHVRTMustTrip (High Voltage Ride Through, Must Trip Mode)
# 6 - opModLFRTMayTrip (Low Frequency Ride Through, May Trip Mode)
# 7 - opModLFRTMustTrip (Low Frequency Ride Through, Must Trip Mode)
# 8 - opModLVRTMayTrip (Low Voltage Ride Through, May Trip Mode)
# 9 - opModLVRTMomentaryCessation (Low Voltage Ride Through, Momentary Cessation
# Mode)
# 10 - opModLVRTMustTrip (Low Voltage Ride Through, Must Trip Mode)
# 11 - opModVoltVar (Volt-Var Mode)
# 12 - opModVoltWatt (Volt-Watt Mode)
# 13 - opModWattPF (Watt-PowerFactor Mode)
# 14 - opModWattVar (Watt-Var Mode)
- description: Curve 1
curveType: opModVoltVar
CurveData:
- xvalue: 5
yvalue: 5
- description: Curve 2
curveType: opModFreqWatt
CurveData:
# exitation is only available if yvalue is power factor
- exitation: 10
xvalue: 5
yvalue: 5