-
Notifications
You must be signed in to change notification settings - Fork 906
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add snapshot test for ENTSO-E exchange functions (#6285)
* Add snapshot test for ENTSO-E exchange function * add test case for exchange forecasts * sort by datetime to match EventLists * format * account for change to proxy domain
- Loading branch information
1 parent
2705c9b
commit 7eb58d8
Showing
6 changed files
with
2,785 additions
and
1 deletion.
There are no files selected for viewing
236 changes: 236 additions & 0 deletions
236
parsers/test/mocks/ENTSOE/DK-DK1_GB_exchange_exports.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,236 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Publication_MarketDocument xmlns="urn:iec62325.351:tc57wg16:451-3:publicationdocument:7:0"> | ||
<mRID>dceac22608ba4d82adab1f0e9e6d9b63</mRID> | ||
<revisionNumber>1</revisionNumber> | ||
<type>A11</type> | ||
<sender_MarketParticipant.mRID codingScheme="A01">10X1001A1001A450</sender_MarketParticipant.mRID> | ||
<sender_MarketParticipant.marketRole.type>A32</sender_MarketParticipant.marketRole.type> | ||
<receiver_MarketParticipant.mRID codingScheme="A01">10X1001A1001A450</receiver_MarketParticipant.mRID> | ||
<receiver_MarketParticipant.marketRole.type>A33</receiver_MarketParticipant.marketRole.type> | ||
<createdDateTime>2023-12-22T17:25:00Z</createdDateTime> | ||
<period.timeInterval> | ||
<start>2023-12-20T17:00Z</start> | ||
<end>2023-12-23T00:00Z</end> | ||
</period.timeInterval> | ||
<TimeSeries> | ||
<mRID>1</mRID> | ||
<businessType>A66</businessType> | ||
<in_Domain.mRID codingScheme="A01">10YGB----------A</in_Domain.mRID> | ||
<out_Domain.mRID codingScheme="A01">10YDK-1--------W</out_Domain.mRID> | ||
<quantity_Measure_Unit.name>MAW</quantity_Measure_Unit.name> | ||
<curveType>A01</curveType> | ||
<Period> | ||
<timeInterval> | ||
<start>2023-12-20T17:00Z</start> | ||
<end>2023-12-22T08:00Z</end> | ||
</timeInterval> | ||
<resolution>PT60M</resolution> | ||
<Point> | ||
<position>1</position> | ||
<quantity>1362</quantity> | ||
</Point> | ||
<Point> | ||
<position>2</position> | ||
<quantity>102</quantity> | ||
</Point> | ||
<Point> | ||
<position>3</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>4</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>5</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>6</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>7</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>8</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>9</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>10</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>11</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>12</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>13</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>14</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>15</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>16</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>17</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>18</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>19</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>20</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>21</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>22</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>23</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>24</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>25</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>26</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>27</position> | ||
<quantity>2</quantity> | ||
</Point> | ||
<Point> | ||
<position>28</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
<Point> | ||
<position>29</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
<Point> | ||
<position>30</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
<Point> | ||
<position>31</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
<Point> | ||
<position>32</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
<Point> | ||
<position>33</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
<Point> | ||
<position>34</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
<Point> | ||
<position>35</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
<Point> | ||
<position>36</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
<Point> | ||
<position>37</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
<Point> | ||
<position>38</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
<Point> | ||
<position>39</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
</Period> | ||
</TimeSeries> | ||
<TimeSeries> | ||
<mRID>2</mRID> | ||
<businessType>A66</businessType> | ||
<in_Domain.mRID codingScheme="A01">10YGB----------A</in_Domain.mRID> | ||
<out_Domain.mRID codingScheme="A01">10YDK-1--------W</out_Domain.mRID> | ||
<quantity_Measure_Unit.name>MAW</quantity_Measure_Unit.name> | ||
<curveType>A01</curveType> | ||
<Period> | ||
<timeInterval> | ||
<start>2023-12-22T09:00Z</start> | ||
<end>2023-12-22T11:00Z</end> | ||
</timeInterval> | ||
<resolution>PT60M</resolution> | ||
<Point> | ||
<position>1</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
<Point> | ||
<position>2</position> | ||
<quantity>1</quantity> | ||
</Point> | ||
</Period> | ||
</TimeSeries> | ||
<TimeSeries> | ||
<mRID>3</mRID> | ||
<businessType>A66</businessType> | ||
<in_Domain.mRID codingScheme="A01">10YGB----------A</in_Domain.mRID> | ||
<out_Domain.mRID codingScheme="A01">10YDK-1--------W</out_Domain.mRID> | ||
<quantity_Measure_Unit.name>MAW</quantity_Measure_Unit.name> | ||
<curveType>A01</curveType> | ||
<Period> | ||
<timeInterval> | ||
<start>2023-12-22T13:00Z</start> | ||
<end>2023-12-22T16:00Z</end> | ||
</timeInterval> | ||
<resolution>PT60M</resolution> | ||
<Point> | ||
<position>1</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>2</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
<Point> | ||
<position>3</position> | ||
<quantity>0</quantity> | ||
</Point> | ||
</Period> | ||
</TimeSeries> | ||
</Publication_MarketDocument> |
Oops, something went wrong.