-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtypes.go
424 lines (416 loc) · 24.9 KB
/
types.go
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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
package goentsoe
import "encoding/xml"
type BalancingMarketDocument struct {
XMLName xml.Name `xml:"Balancing_MarketDocument"`
Text string `xml:",chardata"`
Xmlns string `xml:"xmlns,attr"`
MRID string `xml:"mRID"` // 623e96582b1a4f98af7032228...
RevisionNumber string `xml:"revisionNumber"` // 1, 1, 1, 1, 1, 1, 1, 1, 1...
Type string `xml:"type"` // A86, A85, A86, A86, A87, ...
ProcessProcessType string `xml:"process.processType"` // A16, A16, A16, A16, A16, ...
SenderMarketParticipantMRID struct {
Text string `xml:",chardata"` // 10X1001A1001A450, 10X1001...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"sender_MarketParticipant.mRID"`
SenderMarketParticipantMarketRoleType string `xml:"sender_MarketParticipant.marketRole.type"` // A32, A32, A32, A32, A32, ...
ReceiverMarketParticipantMRID struct {
Text string `xml:",chardata"` // 10X1001A1001A450, 10X1001...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"receiver_MarketParticipant.mRID"`
ReceiverMarketParticipantMarketRoleType string `xml:"receiver_MarketParticipant.marketRole.type"` // A33, A33, A33, A33, A33, ...
CreatedDateTime string `xml:"createdDateTime"` // 2020-09-12T00:13:39Z, 202...
AreaDomainMRID struct {
Text string `xml:",chardata"` // 10YCZ-CEPS-----N, 10YAT-A...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"area_Domain.mRID"`
PeriodTimeInterval struct {
Text string `xml:",chardata"`
Start string `xml:"start"` // 2019-12-19T00:00Z, 2015-1...
End string `xml:"end"` // 2019-12-19T00:10Z, 2016-1...
} `xml:"period.timeInterval"`
TimeSeries []struct {
Text string `xml:",chardata"`
MRID string `xml:"mRID"` // 1, 1, 2, 3, 4, 5, 6, 7, 8...
BusinessType string `xml:"businessType"` // B33, A19, A19, A19, A19, ...
FlowDirectionDirection string `xml:"flowDirection.direction"` // A02, A01, A02, A01, A01, ...
QuantityMeasureUnitName string `xml:"quantity_Measure_Unit.name"` // MAW, MWH, MWH, MWH, MWH, ...
CurveType string `xml:"curveType"` // A01, A01, A01, A01, A01, ...
Period struct {
Text string `xml:",chardata"`
TimeInterval struct {
Text string `xml:",chardata"`
Start string `xml:"start"` // 2019-12-19T00:00Z, 2015-1...
End string `xml:"end"` // 2019-12-19T00:10Z, 2016-0...
} `xml:"timeInterval"`
Resolution string `xml:"resolution"` // PT1M, PT60M, PT60M, PT60M...
Point []struct {
Text string `xml:",chardata"`
Position string `xml:"position"` // 1, 2, 3, 4, 5, 6, 7, 8, 9...
Quantity string `xml:"quantity"` // 78.39, 75.53, 59.41, 61.2...
ImbalancePriceAmount string `xml:"imbalance_Price.amount"` // -514, -562, -548, -314, -...
ImbalancePriceCategory string `xml:"imbalance_Price.category"` // A04, A04, A04, A04, A04, ...
FinancialPrice []struct {
Text string `xml:",chardata"`
Amount string `xml:"amount"` // 464071702, 39706489, 4416...
Direction string `xml:"direction"` // A01, A02, A01, A02, A01, ...
} `xml:"Financial_Price"`
SecondaryQuantity string `xml:"secondaryQuantity"` // 0, 0, 0, 18, 0, 0, 0, 27,...
ProcurementPriceAmount string `xml:"procurement_Price.amount"` // 605, 672, 755, 781, 686, ...
ActivationPriceAmount string `xml:"activation_Price.amount"` // 0, 0, 0, 0, 0, 0, 0, 0, 0...
} `xml:"Point"`
} `xml:"Period"`
CurrencyUnitName string `xml:"currency_Unit.name"` // CZK, CZK, CZK, CZK, CZK, ...
PriceMeasureUnitName string `xml:"price_Measure_Unit.name"` // MWH, MWH, MWH, MWH, MWH, ...
StandardMarketProductMarketProductType string `xml:"standard_MarketProduct.marketProductType"` // A01, A01
TypeMarketAgreementType string `xml:"type_MarketAgreement.type"` // A01, A01, A01, A01
MktPSRTypePsrType string `xml:"mktPSRType.psrType"` // A04, A04, A04, A04, A04, ...
} `xml:"TimeSeries"`
ControlAreaDomainMRID struct {
Text string `xml:",chardata"` // 10YCZ-CEPS-----N, 10YCZ-C...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"controlArea_Domain.mRID"`
DocStatus struct {
Text string `xml:",chardata"`
Value string `xml:"value"` // A01, A02, A01
} `xml:"docStatus"`
}
type UnavailabilityMarketDocument struct {
XMLName xml.Name `xml:"Unavailability_MarketDocument"`
Text string `xml:",chardata"`
Xmlns string `xml:"xmlns,attr"`
MRID string `xml:"mRID"` // kjfQMlmtlZVC32VliNsNQg, -...
RevisionNumber string `xml:"revisionNumber"` // 2, 1, 3, 3, 3, 3, 3, 2, 2...
Type string `xml:"type"` // A79, A79, A79, A79, A79, ...
ProcessProcessType string `xml:"process.processType"` // A26, A26, A26, A26, A26, ...
CreatedDateTime string `xml:"createdDateTime"` // 2016-05-13T06:19:51Z, 201...
SenderMarketParticipantMRID struct {
Text string `xml:",chardata"` // 10X1001A1001A450, 10X1001...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"sender_MarketParticipant.mRID"`
SenderMarketParticipantMarketRoleType string `xml:"sender_MarketParticipant.marketRole.type"` // A32, A32, A32, A32, A32, ...
ReceiverMarketParticipantMRID struct {
Text string `xml:",chardata"` // 10X1001A1001A450, 10X1001...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"receiver_MarketParticipant.mRID"`
ReceiverMarketParticipantMarketRoleType string `xml:"receiver_MarketParticipant.marketRole.type"` // A33, A33, A33, A33, A33, ...
UnavailabilityTimePeriodTimeInterval struct {
Text string `xml:",chardata"`
Start string `xml:"start"` // 2015-11-23T17:50Z, 2015-1...
End string `xml:"end"` // 2016-05-12T19:51Z, 2016-0...
} `xml:"unavailability_Time_Period.timeInterval"`
TimeSeries struct {
Text string `xml:",chardata"`
MRID string `xml:"mRID"` // 1, 1, 1, 1, 1, 1, 1, 1, 1...
BusinessType string `xml:"businessType"` // A54, A54, A54, A54, A54, ...
BiddingZoneDomainMRID struct {
Text string `xml:",chardata"` // 10YDE-EON------1, 10YDE-E...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"biddingZone_Domain.mRID"`
StartDateAndOrTimeDate string `xml:"start_DateAndOrTime.date"` // 2015-11-23, 2015-12-29, 2...
StartDateAndOrTimeTime string `xml:"start_DateAndOrTime.time"` // 17:50:00Z, 19:43:00Z, 07:...
EndDateAndOrTimeDate string `xml:"end_DateAndOrTime.date"` // 2016-05-12, 2016-01-05, 2...
EndDateAndOrTimeTime string `xml:"end_DateAndOrTime.time"` // 19:51:00Z, 19:43:00Z, 16:...
QuantityMeasureUnitName string `xml:"quantity_Measure_Unit.name"` // MAW, MAW, MAW, MAW, MAW, ...
CurveType string `xml:"curveType"` // A03, A03, A03, A03, A03, ...
ProductionRegisteredResourcePSRTypePowerSystemResourcesNominalP struct {
Text string `xml:",chardata"` // 113, 156, 864, 144, 144, ...
Unit string `xml:"unit,attr"`
} `xml:"production_RegisteredResource.pSRType.powerSystemResources.nominalP"`
AssetRegisteredResource struct {
Text string `xml:",chardata"`
MRID struct {
Text string `xml:",chardata"` // 11TD2L000000267O, 11TD2L0...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"mRID"`
Name string `xml:"name"` // L-155-RIFF-EMDB-AC114, L-...
AssetPSRTypePsrType string `xml:"asset_PSRType.psrType"` // B21, B21, B23, B21, B21, ...
LocationName string `xml:"location.name"` // Riffgat-Emden/Borssum, Bo...
} `xml:"Asset_RegisteredResource"`
WindPowerFeedinPeriod struct {
Text string `xml:",chardata"`
TimeInterval struct {
Text string `xml:",chardata"`
Start string `xml:"start"` // 2015-11-23T17:50Z, 2015-1...
End string `xml:"end"` // 2016-05-12T19:51Z, 2016-0...
} `xml:"timeInterval"`
Resolution string `xml:"resolution"` // PT1M, PT1M, PT1M, PT1M, P...
Point struct {
Text string `xml:",chardata"`
Position string `xml:"position"` // 1, 1, 1, 1, 1, 1, 1, 1, 1...
Quantity string `xml:"quantity"` // 0, 80, 545, 142, 141, 141...
} `xml:"Point"`
} `xml:"WindPowerFeedin_Period"`
} `xml:"TimeSeries"`
Reason struct {
Text string `xml:",chardata"`
Code string `xml:"code"` // B18, B18, B18, B18, B18, ...
} `xml:"Reason"`
}
type GLMarketDocument struct {
XMLName xml.Name `xml:"GL_MarketDocument"`
Text string `xml:",chardata"`
Xmlns string `xml:"xmlns,attr"`
MRID string `xml:"mRID"` // ed7acd8a6d784b7ab2a703950...
RevisionNumber string `xml:"revisionNumber"` // 1, 1, 1, 1, 1, 1, 1, 1, 1...
Type string `xml:"type"` // A65, A65, A65, A65, A65, ...
ProcessProcessType string `xml:"process.processType"` // A16, A01, A31, A32, A33, ...
SenderMarketParticipantMRID struct {
Text string `xml:",chardata"` // 10X1001A1001A450, 10X1001...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"sender_MarketParticipant.mRID"`
SenderMarketParticipantMarketRoleType string `xml:"sender_MarketParticipant.marketRole.type"` // A32, A32, A32, A32, A32, ...
ReceiverMarketParticipantMRID struct {
Text string `xml:",chardata"` // 10X1001A1001A450, 10X1001...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"receiver_MarketParticipant.mRID"`
ReceiverMarketParticipantMarketRoleType string `xml:"receiver_MarketParticipant.marketRole.type"` // A33, A33, A33, A33, A33, ...
CreatedDateTime string `xml:"createdDateTime"` // 2020-09-12T00:13:12Z, 202...
TimePeriodTimeInterval struct {
Text string `xml:",chardata"`
Start string `xml:"start"` // 2015-12-31T23:00Z, 2015-1...
End string `xml:"end"` // 2016-12-31T23:00Z, 2016-1...
} `xml:"time_Period.timeInterval"`
TimeSeries []struct {
Text string `xml:",chardata"`
MRID string `xml:"mRID"` // 1, 2, 3, 4, 5, 6, 7, 8, 9...
BusinessType string `xml:"businessType"` // A04, A04, A04, A04, A04, ...
ObjectAggregation string `xml:"objectAggregation"` // A01, A01, A01, A01, A01, ...
OutBiddingZoneDomainMRID struct {
Text string `xml:",chardata"` // 10YCZ-CEPS-----N, 10YCZ-C...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"outBiddingZone_Domain.mRID"`
QuantityMeasureUnitName string `xml:"quantity_Measure_Unit.name"` // MAW, MAW, MAW, MAW, MAW, ...
CurveType string `xml:"curveType"` // A01, A01, A01, A01, A01, ...
Period struct {
Text string `xml:",chardata"`
TimeInterval struct {
Text string `xml:",chardata"`
Start string `xml:"start"` // 2015-12-31T23:00Z, 2016-0...
End string `xml:"end"` // 2016-01-23T11:00Z, 2016-0...
} `xml:"timeInterval"`
Resolution string `xml:"resolution"` // PT60M, PT60M, PT60M, PT60...
Point []struct {
Text string `xml:",chardata"`
Position string `xml:"position"` // 1, 2, 3, 4, 5, 6, 7, 8, 9...
Quantity string `xml:"quantity"` // 5872, 5784, 5690, 5604, 5...
} `xml:"Point"`
} `xml:"Period"`
InBiddingZoneDomainMRID struct {
Text string `xml:",chardata"` // 10YCZ-CEPS-----N, 10YCZ-C...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"inBiddingZone_Domain.mRID"`
MktPSRType struct {
Text string `xml:",chardata"`
PsrType string `xml:"psrType"` // B16, B02, B02, B02, B02, ...
VoltagePowerSystemResourcesHighVoltageLimit struct {
Text string `xml:",chardata"` // 400, 400, 400, 400, 110, ...
Unit string `xml:"unit,attr"`
} `xml:"voltage_PowerSystemResources.highVoltageLimit"`
PowerSystemResources struct {
Text string `xml:",chardata"`
MRID struct {
Text string `xml:",chardata"` // 27W-GU-ECHVG1--C, 27W-GU-...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"mRID"`
Name string `xml:"name"` // ECHV_G1____, ECHV_G2____,...
} `xml:"PowerSystemResources"`
} `xml:"MktPSRType"`
RegisteredResourceMRID struct {
Text string `xml:",chardata"` // 27W-PU-EPC1----Y, 27W-PU-...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"registeredResource.mRID"`
RegisteredResourceName string `xml:"registeredResource.name"` // EPC1_______, EME3_______,...
} `xml:"TimeSeries"`
}
type AcknowledgementMarketDocument struct {
XMLName xml.Name `xml:"Acknowledgement_MarketDocument"`
Text string `xml:",chardata"`
Xmlns string `xml:"xmlns,attr"`
MRID string `xml:"mRID"` // 71a6d596-0e01-4, 66ff98cd...
CreatedDateTime string `xml:"createdDateTime"` // 2020-09-12T00:13:14Z, 202...
SenderMarketParticipantMRID struct {
Text string `xml:",chardata"` // 10X1001A1001A450, 10X1001...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"sender_MarketParticipant.mRID"`
SenderMarketParticipantMarketRoleType string `xml:"sender_MarketParticipant.marketRole.type"` // A32, A32, A32, A32, A32, ...
ReceiverMarketParticipantMRID struct {
Text string `xml:",chardata"` // 10X1001A1001A450, 10X1001...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"receiver_MarketParticipant.mRID"`
ReceiverMarketParticipantMarketRoleType string `xml:"receiver_MarketParticipant.marketRole.type"` // A39, A39, A39, A39, A39, ...
ReceivedMarketDocumentCreatedDateTime string `xml:"received_MarketDocument.createdDateTime"` // 2020-09-12T00:13:14Z, 202...
Reason struct {
Chardata string `xml:",chardata"`
Code string `xml:"code"` // 999, 999, 999, 999, 999, ...
Text string `xml:"text"` // No matching data found fo...
} `xml:"Reason"`
}
type PublicationMarketDocument struct {
XMLName xml.Name `xml:"Publication_MarketDocument"`
Text string `xml:",chardata"`
Xmlns string `xml:"xmlns,attr"`
MRID string `xml:"mRID"` // abbbeef260884cb9b43858124...
RevisionNumber string `xml:"revisionNumber"` // 1, 1, 1, 1, 1, 1, 1, 1, 1...
Type string `xml:"type"` // A44, A25, A25, A09, A11, ...
SenderMarketParticipantMRID struct {
Text string `xml:",chardata"` // 10X1001A1001A450, 10X1001...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"sender_MarketParticipant.mRID"`
SenderMarketParticipantMarketRoleType string `xml:"sender_MarketParticipant.marketRole.type"` // A32, A32, A32, A32, A32, ...
ReceiverMarketParticipantMRID struct {
Text string `xml:",chardata"` // 10X1001A1001A450, 10X1001...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"receiver_MarketParticipant.mRID"`
ReceiverMarketParticipantMarketRoleType string `xml:"receiver_MarketParticipant.marketRole.type"` // A33, A33, A33, A33, A33, ...
CreatedDateTime string `xml:"createdDateTime"` // 2020-09-12T00:13:15Z, 202...
PeriodTimeInterval struct {
Text string `xml:",chardata"`
Start string `xml:"start"` // 2015-12-31T23:00Z, 2015-1...
End string `xml:"end"` // 2016-12-31T23:00Z, 2016-1...
} `xml:"period.timeInterval"`
TimeSeries []struct {
Text string `xml:",chardata"`
MRID string `xml:"mRID"` // 1, 2, 3, 4, 5, 6, 7, 8, 9...
BusinessType string `xml:"businessType"` // A62, A62, A62, A62, A62, ...
InDomainMRID struct {
Text string `xml:",chardata"` // 10YCZ-CEPS-----N, 10YCZ-C...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"in_Domain.mRID"`
OutDomainMRID struct {
Text string `xml:",chardata"` // 10YCZ-CEPS-----N, 10YCZ-C...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"out_Domain.mRID"`
CurrencyUnitName string `xml:"currency_Unit.name"` // EUR, EUR, EUR, EUR, EUR, ...
PriceMeasureUnitName string `xml:"price_Measure_Unit.name"` // MWH, MWH, MWH, MWH, MWH, ...
CurveType string `xml:"curveType"` // A01, A01, A01, A01, A01, ...
Period struct {
Text string `xml:",chardata"`
TimeInterval struct {
Text string `xml:",chardata"`
Start string `xml:"start"` // 2015-12-31T23:00Z, 2016-0...
End string `xml:"end"` // 2016-01-01T23:00Z, 2016-0...
} `xml:"timeInterval"`
Resolution string `xml:"resolution"` // PT60M, PT60M, PT60M, PT60...
Point []struct {
Text string `xml:",chardata"`
Position string `xml:"position"` // 1, 2, 3, 4, 5, 6, 7, 8, 9...
PriceAmount string `xml:"price.amount"` // 16.50, 15.50, 14.00, 10.0...
Quantity string `xml:"quantity"` // 226, 87, 104, 189, 217, 8...
} `xml:"Point"`
} `xml:"Period"`
AuctionType string `xml:"auction.type"` // A01, A01, A01, A01, A01, ...
ContractMarketAgreementType string `xml:"contract_MarketAgreement.type"` // A01, A01, A01, A01, A01, ...
QuantityMeasureUnitName string `xml:"quantity_Measure_Unit.name"` // MAW, MAW, MAW, MAW, MAW, ...
AuctionMRID string `xml:"auction.mRID"` // CP_A_Hourly_SK-UA, CP_A_D...
AuctionCategory string `xml:"auction.category"` // A04, A04, A01, A01, A01, ...
ClassificationSequenceAttributeInstanceComponentPosition string `xml:"classificationSequence_AttributeInstanceComponent.position"` // 1, 1
} `xml:"TimeSeries"`
}
type CriticalNetworkElementMarketDocument struct {
XMLName xml.Name `xml:"CriticalNetworkElement_MarketDocument"`
Text string `xml:",chardata"`
Xmlns string `xml:"xmlns,attr"`
MRID string `xml:"mRID"` // 38e3d7b3f58d4fca84249c230...
RevisionNumber string `xml:"revisionNumber"` // 1
Type string `xml:"type"` // B11
ProcessProcessType string `xml:"process.processType"` // A01
SenderMarketParticipantMRID string `xml:"sender_MarketParticipant.mRID"` // 10X1001A1001A450
SenderMarketParticipantMarketRoleType string `xml:"sender_MarketParticipant.marketRole.type"` // A32
ReceiverMarketParticipantMRID string `xml:"receiver_MarketParticipant.mRID"` // 10X1001A1001A450
ReceiverMarketParticipantMarketRoleType string `xml:"receiver_MarketParticipant.marketRole.type"` // A33
CreatedDateTime string `xml:"createdDateTime"` // 2020-09-12T00:13:23Z
TimePeriodTimeInterval struct {
Text string `xml:",chardata"`
Start string `xml:"start"` // 2015-12-31T23:00Z
End string `xml:"end"` // 2016-01-02T23:00Z
} `xml:"time_Period.timeInterval"`
DomainMRID string `xml:"domain.mRID"` // 10YDOM-REGION-1V
TimeSeries []struct {
Text string `xml:",chardata"`
MRID string `xml:"mRID"` // 1, 2
BusinessType string `xml:"businessType"` // B39, B39
CurveType string `xml:"curveType"` // A01, A01
Period struct {
Text string `xml:",chardata"`
TimeInterval struct {
Text string `xml:",chardata"`
Start string `xml:"start"` // 2015-12-31T23:00Z, 2016-0...
End string `xml:"end"` // 2016-01-01T23:00Z, 2016-0...
} `xml:"timeInterval"`
Resolution string `xml:"resolution"` // PT60M, PT60M
Point []struct {
Text string `xml:",chardata"`
Position string `xml:"position"` // 1, 2, 3, 4, 5, 6, 7, 8, 9...
ConstraintTimeSeries []struct {
Text string `xml:",chardata"`
MRID string `xml:"mRID"` // 14648370000, 12144770000,...
BusinessType string `xml:"businessType"` // B09, B09, B09, B09, B09, ...
QuantityMeasurementUnitName string `xml:"quantity_Measurement_Unit.name"` // MAW, MAW, MAW, MAW, MAW, ...
PTDFMeasurementUnitName string `xml:"pTDF_Measurement_Unit.name"` // MAW, MAW, MAW, MAW, MAW, ...
MonitoredRegisteredResource struct {
Text string `xml:",chardata"`
FlowBasedStudyDomainMRID string `xml:"flowBasedStudy_Domain.mRID"` // 10YDOM-REGION-1V, 10YDOM-...
FlowBasedStudyDomainFlowBasedMarginQuantityQuantity string `xml:"flowBasedStudy_Domain.flowBasedMargin_Quantity.quantity"` // 756, 760, 417, 537, 1116,...
PTDFDomain []struct {
Text string `xml:",chardata"`
MRID string `xml:"mRID"` // 10YBE----------2, 10Y1001...
PTDFQuantityQuantity string `xml:"pTDF_Quantity.quantity"` // 0.00767, 0.07408, 0.03358...
} `xml:"PTDF_Domain"`
} `xml:"Monitored_RegisteredResource"`
} `xml:"Constraint_TimeSeries"`
} `xml:"Point"`
} `xml:"Period"`
} `xml:"TimeSeries"`
}
type TransmissionNetworkMarketDocument struct {
XMLName xml.Name `xml:"TransmissionNetwork_MarketDocument"`
Text string `xml:",chardata"`
Xmlns string `xml:"xmlns,attr"`
MRID string `xml:"mRID"` // 54d07a10e4184f75b405430ca...
RevisionNumber string `xml:"revisionNumber"` // 1
Type string `xml:"type"` // A92
ProcessProcessType string `xml:"process.processType"` // A16
CreatedDateTime string `xml:"createdDateTime"` // 2020-09-12T00:13:33Z
SenderMarketParticipantMRID struct {
Text string `xml:",chardata"` // 10X1001A1001A450
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"sender_MarketParticipant.mRID"`
SenderMarketParticipantMarketRoleType string `xml:"sender_MarketParticipant.marketRole.type"` // A32
ReceiverMarketParticipantMRID struct {
Text string `xml:",chardata"` // 10X1001A1001A450
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"receiver_MarketParticipant.mRID"`
ReceiverMarketParticipantMarketRoleType string `xml:"receiver_MarketParticipant.marketRole.type"` // A33
PeriodTimeInterval struct {
Text string `xml:",chardata"`
Start string `xml:"start"` // 2016-01-01T00:00Z
End string `xml:"end"` // 2017-01-01T00:00Z
} `xml:"period.timeInterval"`
TimeSeries []struct {
Text string `xml:",chardata"`
MRID string `xml:"mRID"` // 1, 2, 3, 4, 5, 6, 7, 8, 9...
BusinessType string `xml:"businessType"` // B03, B03, B03, B03, B03, ...
InDomainMRID struct {
Text string `xml:",chardata"` // 10YCZ-CEPS-----N, 10YCZ-C...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"in_Domain.mRID"`
OutDomainMRID struct {
Text string `xml:",chardata"` // 10YCZ-CEPS-----N, 10YCZ-C...
CodingScheme string `xml:"codingScheme,attr"`
} `xml:"out_Domain.mRID"`
CurveType string `xml:"curveType"` // A01, A01, A01, A01, A01, ...
Period struct {
Text string `xml:",chardata"`
TimeInterval struct {
Text string `xml:",chardata"`
Start string `xml:"start"` // 2016-01-01T00:00Z, 2016-0...
End string `xml:"end"` // 2016-02-01T00:00Z, 2016-0...
} `xml:"timeInterval"`
Resolution string `xml:"resolution"` // P1M, P1M, P1M, P1M, P1M, ...
Point struct {
Text string `xml:",chardata"`
Position string `xml:"position"` // 1, 1, 1, 1, 1, 1, 1, 1, 1...
} `xml:"Point"`
} `xml:"Period"`
} `xml:"TimeSeries"`
}