package io.openems.common.bridge.http.thirdparty.entsoe;

import static io.openems.common.test.TestUtils.createDummyClock;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.jupiter.api.Assertions.assertThrows;

import java.time.Clock;
import java.time.Duration;
import java.time.Instant;
import java.time.ZonedDateTime;

import org.junit.jupiter.api.Test;

import io.openems.common.bridge.http.time.DelayTimeProvider;
import io.openems.common.exceptions.OpenemsError;
import io.openems.common.types.EntsoeBiddingZone;
import io.openems.common.xml.serialization.XmlParser;

public class EntsoeApiTest {
	private static final String XML = """
			<?xml version="1.0" encoding="utf-8"?>
			<Publication_MarketDocument xmlns="urn:iec62325.351:tc57wg16:451-3:publicationdocument:7:3">
			    <mRID>d185659885844304b467c94439cd5288</mRID>
			    <revisionNumber>1</revisionNumber>
			    <type>A44</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>2025-10-16T07:55:13Z</createdDateTime>
			    <period.timeInterval>
			        <start>2025-10-14T22:00Z</start>
			        <end>2025-10-16T22:00Z</end>
			    </period.timeInterval>
			    <TimeSeries>
			        <mRID>1</mRID>
			        <auction.type>A01</auction.type>
			        <businessType>A62</businessType>
			        <in_Domain.mRID codingScheme="A01">10Y1001A1001A82H</in_Domain.mRID>
			        <out_Domain.mRID codingScheme="A01">10Y1001A1001A82H</out_Domain.mRID>
			        <contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
			        <currency_Unit.name>EUR</currency_Unit.name>
			        <price_Measure_Unit.name>MWH</price_Measure_Unit.name>
			        <classificationSequence_AttributeInstanceComponent.position>1</classificationSequence_AttributeInstanceComponent.position>
			        <curveType>A03</curveType>
			        <Period>
			            <timeInterval>
			                <start>2025-10-14T22:00Z</start>
			                <end>2025-10-15T22:00Z</end>
			            </timeInterval>
			            <resolution>PT15M</resolution>
			            <Point>
			                <position>1</position>
			                <price.amount>120.26</price.amount>
			            </Point>
			            <Point>
			                <position>2</position>
			                <price.amount>116.09</price.amount>
			            </Point>
			            <Point>
			                <position>3</position>
			                <price.amount>113.53</price.amount>
			            </Point>
			            <Point>
			                <position>4</position>
			                <price.amount>111.97</price.amount>
			            </Point>
			            <Point>
			                <position>5</position>
			                <price.amount>117.16</price.amount>
			            </Point>
			            <Point>
			                <position>6</position>
			                <price.amount>112.45</price.amount>
			            </Point>
			            <Point>
			                <position>7</position>
			                <price.amount>110.16</price.amount>
			            </Point>
			            <Point>
			                <position>8</position>
			                <price.amount>107.69</price.amount>
			            </Point>
			            <Point>
			                <position>9</position>
			                <price.amount>110.15</price.amount>
			            </Point>
			            <Point>
			                <position>10</position>
			                <price.amount>108.38</price.amount>
			            </Point>
			            <Point>
			                <position>11</position>
			                <price.amount>106.29</price.amount>
			            </Point>
			            <Point>
			                <position>12</position>
			                <price.amount>105.9</price.amount>
			            </Point>
			            <Point>
			                <position>13</position>
			                <price.amount>105.98</price.amount>
			            </Point>
			            <Point>
			                <position>14</position>
			                <price.amount>104.94</price.amount>
			            </Point>
			            <Point>
			                <position>15</position>
			                <price.amount>101.43</price.amount>
			            </Point>
			            <Point>
			                <position>16</position>
			                <price.amount>102.12</price.amount>
			            </Point>
			            <Point>
			                <position>17</position>
			                <price.amount>102.06</price.amount>
			            </Point>
			            <Point>
			                <position>18</position>
			                <price.amount>104.76</price.amount>
			            </Point>
			            <Point>
			                <position>19</position>
			                <price.amount>107.21</price.amount>
			            </Point>
			            <Point>
			                <position>20</position>
			                <price.amount>111.89</price.amount>
			            </Point>
			            <Point>
			                <position>21</position>
			                <price.amount>108.85</price.amount>
			            </Point>
			            <Point>
			                <position>22</position>
			                <price.amount>112.74</price.amount>
			            </Point>
			            <Point>
			                <position>23</position>
			                <price.amount>116.6</price.amount>
			            </Point>
			            <Point>
			                <position>24</position>
			                <price.amount>119.4</price.amount>
			            </Point>
			            <Point>
			                <position>25</position>
			                <price.amount>117.12</price.amount>
			            </Point>
			            <Point>
			                <position>26</position>
			                <price.amount>131.33</price.amount>
			            </Point>
			            <Point>
			                <position>27</position>
			                <price.amount>164.35</price.amount>
			            </Point>
			            <Point>
			                <position>28</position>
			                <price.amount>195.04</price.amount>
			            </Point>
			            <Point>
			                <position>29</position>
			                <price.amount>211.75</price.amount>
			            </Point>
			            <Point>
			                <position>30</position>
			                <price.amount>270.1</price.amount>
			            </Point>
			            <Point>
			                <position>31</position>
			                <price.amount>319.58</price.amount>
			            </Point>
			            <Point>
			                <position>32</position>
			                <price.amount>313.53</price.amount>
			            </Point>
			            <Point>
			                <position>33</position>
			                <price.amount>354.61</price.amount>
			            </Point>
			            <Point>
			                <position>34</position>
			                <price.amount>304.77</price.amount>
			            </Point>
			            <Point>
			                <position>35</position>
			                <price.amount>247.13</price.amount>
			            </Point>
			            <Point>
			                <position>36</position>
			                <price.amount>198.28</price.amount>
			            </Point>
			            <Point>
			                <position>37</position>
			                <price.amount>252.11</price.amount>
			            </Point>
			            <Point>
			                <position>38</position>
			                <price.amount>197.67</price.amount>
			            </Point>
			            <Point>
			                <position>39</position>
			                <price.amount>143.43</price.amount>
			            </Point>
			            <Point>
			                <position>40</position>
			                <price.amount>131</price.amount>
			            </Point>
			            <Point>
			                <position>41</position>
			                <price.amount>184.44</price.amount>
			            </Point>
			            <Point>
			                <position>42</position>
			                <price.amount>141.01</price.amount>
			            </Point>
			            <Point>
			                <position>43</position>
			                <price.amount>131.88</price.amount>
			            </Point>
			            <Point>
			                <position>44</position>
			                <price.amount>112.1</price.amount>
			            </Point>
			            <Point>
			                <position>45</position>
			                <price.amount>145.77</price.amount>
			            </Point>
			            <Point>
			                <position>46</position>
			                <price.amount>130.42</price.amount>
			            </Point>
			            <Point>
			                <position>47</position>
			                <price.amount>117.22</price.amount>
			            </Point>
			            <Point>
			                <position>48</position>
			                <price.amount>111.01</price.amount>
			            </Point>
			            <Point>
			                <position>49</position>
			                <price.amount>127.91</price.amount>
			            </Point>
			            <Point>
			                <position>50</position>
			                <price.amount>124.04</price.amount>
			            </Point>
			            <Point>
			                <position>51</position>
			                <price.amount>115.92</price.amount>
			            </Point>
			            <Point>
			                <position>52</position>
			                <price.amount>109.83</price.amount>
			            </Point>
			            <Point>
			                <position>53</position>
			                <price.amount>118.01</price.amount>
			            </Point>
			            <Point>
			                <position>54</position>
			                <price.amount>115.82</price.amount>
			            </Point>
			            <Point>
			                <position>55</position>
			                <price.amount>111</price.amount>
			            </Point>
			            <Point>
			                <position>56</position>
			                <price.amount>106.68</price.amount>
			            </Point>
			            <Point>
			                <position>57</position>
			                <price.amount>107.51</price.amount>
			            </Point>
			            <Point>
			                <position>58</position>
			                <price.amount>109.68</price.amount>
			            </Point>
			            <Point>
			                <position>59</position>
			                <price.amount>116.98</price.amount>
			            </Point>
			            <Point>
			                <position>60</position>
			                <price.amount>127.4</price.amount>
			            </Point>
			            <Point>
			                <position>61</position>
			                <price.amount>103.7</price.amount>
			            </Point>
			            <Point>
			                <position>62</position>
			                <price.amount>107.64</price.amount>
			            </Point>
			            <Point>
			                <position>63</position>
			                <price.amount>124.93</price.amount>
			            </Point>
			            <Point>
			                <position>64</position>
			                <price.amount>154.3</price.amount>
			            </Point>
			            <Point>
			                <position>65</position>
			                <price.amount>101.51</price.amount>
			            </Point>
			            <Point>
			                <position>66</position>
			                <price.amount>118.71</price.amount>
			            </Point>
			            <Point>
			                <position>67</position>
			                <price.amount>147.98</price.amount>
			            </Point>
			            <Point>
			                <position>68</position>
			                <price.amount>174.57</price.amount>
			            </Point>
			            <Point>
			                <position>69</position>
			                <price.amount>105.02</price.amount>
			            </Point>
			            <Point>
			                <position>70</position>
			                <price.amount>130.3</price.amount>
			            </Point>
			            <Point>
			                <position>71</position>
			                <price.amount>183.17</price.amount>
			            </Point>
			            <Point>
			                <position>72</position>
			                <price.amount>261.51</price.amount>
			            </Point>
			            <Point>
			                <position>73</position>
			                <price.amount>156.76</price.amount>
			            </Point>
			            <Point>
			                <position>74</position>
			                <price.amount>189.62</price.amount>
			            </Point>
			            <Point>
			                <position>75</position>
			                <price.amount>246.84</price.amount>
			            </Point>
			            <Point>
			                <position>76</position>
			                <price.amount>294.29</price.amount>
			            </Point>
			            <Point>
			                <position>77</position>
			                <price.amount>293.57</price.amount>
			            </Point>
			            <Point>
			                <position>78</position>
			                <price.amount>242.91</price.amount>
			            </Point>
			            <Point>
			                <position>79</position>
			                <price.amount>182.93</price.amount>
			            </Point>
			            <Point>
			                <position>80</position>
			                <price.amount>160.59</price.amount>
			            </Point>
			            <Point>
			                <position>81</position>
			                <price.amount>213.51</price.amount>
			            </Point>
			            <Point>
			                <position>82</position>
			                <price.amount>158.01</price.amount>
			            </Point>
			            <Point>
			                <position>83</position>
			                <price.amount>124.95</price.amount>
			            </Point>
			            <Point>
			                <position>84</position>
			                <price.amount>114.91</price.amount>
			            </Point>
			            <Point>
			                <position>85</position>
			                <price.amount>153.28</price.amount>
			            </Point>
			            <Point>
			                <position>86</position>
			                <price.amount>131.41</price.amount>
			            </Point>
			            <Point>
			                <position>87</position>
			                <price.amount>118.17</price.amount>
			            </Point>
			            <Point>
			                <position>88</position>
			                <price.amount>94.51</price.amount>
			            </Point>
			            <Point>
			                <position>89</position>
			                <price.amount>114.72</price.amount>
			            </Point>
			            <Point>
			                <position>90</position>
			                <price.amount>101.31</price.amount>
			            </Point>
			            <Point>
			                <position>91</position>
			                <price.amount>95.35</price.amount>
			            </Point>
			            <Point>
			                <position>92</position>
			                <price.amount>81.46</price.amount>
			            </Point>
			            <Point>
			                <position>93</position>
			                <price.amount>95.39</price.amount>
			            </Point>
			            <Point>
			                <position>94</position>
			                <price.amount>87.17</price.amount>
			            </Point>
			            <Point>
			                <position>95</position>
			                <price.amount>87.1</price.amount>
			            </Point>
			            <Point>
			                <position>96</position>
			                <price.amount>83.02</price.amount>
			            </Point>
			        </Period>
			    </TimeSeries>
			    <TimeSeries>
			        <mRID>2</mRID>
			        <auction.type>A01</auction.type>
			        <businessType>A62</businessType>
			        <in_Domain.mRID codingScheme="A01">10Y1001A1001A82H</in_Domain.mRID>
			        <out_Domain.mRID codingScheme="A01">10Y1001A1001A82H</out_Domain.mRID>
			        <contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
			        <currency_Unit.name>EUR</currency_Unit.name>
			        <price_Measure_Unit.name>MWH</price_Measure_Unit.name>
			        <classificationSequence_AttributeInstanceComponent.position>1</classificationSequence_AttributeInstanceComponent.position>
			        <curveType>A03</curveType>
			        <Period>
			            <timeInterval>
			                <start>2025-10-15T22:00Z</start>
			                <end>2025-10-16T22:00Z</end>
			            </timeInterval>
			            <resolution>PT15M</resolution>
			            <Point>
			                <position>1</position>
			                <price.amount>90.22</price.amount>
			            </Point>
			            <Point>
			                <position>2</position>
			                <price.amount>91.63</price.amount>
			            </Point>
			            <Point>
			                <position>3</position>
			                <price.amount>88.93</price.amount>
			            </Point>
			            <Point>
			                <position>4</position>
			                <price.amount>81.88</price.amount>
			            </Point>
			            <Point>
			                <position>5</position>
			                <price.amount>90.67</price.amount>
			            </Point>
			            <Point>
			                <position>6</position>
			                <price.amount>87.14</price.amount>
			            </Point>
			            <Point>
			                <position>7</position>
			                <price.amount>85.09</price.amount>
			            </Point>
			            <Point>
			                <position>8</position>
			                <price.amount>80.33</price.amount>
			            </Point>
			            <Point>
			                <position>9</position>
			                <price.amount>90.41</price.amount>
			            </Point>
			            <Point>
			                <position>10</position>
			                <price.amount>88.7</price.amount>
			            </Point>
			            <Point>
			                <position>11</position>
			                <price.amount>87.91</price.amount>
			            </Point>
			            <Point>
			                <position>12</position>
			                <price.amount>84.98</price.amount>
			            </Point>
			            <Point>
			                <position>13</position>
			                <price.amount>90.01</price.amount>
			            </Point>
			            <Point>
			                <position>14</position>
			                <price.amount>88.69</price.amount>
			            </Point>
			            <Point>
			                <position>16</position>
			                <price.amount>79.23</price.amount>
			            </Point>
			            <Point>
			                <position>17</position>
			                <price.amount>86.13</price.amount>
			            </Point>
			            <Point>
			                <position>18</position>
			                <price.amount>88.05</price.amount>
			            </Point>
			            <Point>
			                <position>19</position>
			                <price.amount>88.49</price.amount>
			            </Point>
			            <Point>
			                <position>20</position>
			                <price.amount>90.67</price.amount>
			            </Point>
			            <Point>
			                <position>21</position>
			                <price.amount>80.24</price.amount>
			            </Point>
			            <Point>
			                <position>22</position>
			                <price.amount>81.25</price.amount>
			            </Point>
			            <Point>
			                <position>23</position>
			                <price.amount>85.1</price.amount>
			            </Point>
			            <Point>
			                <position>24</position>
			                <price.amount>93.59</price.amount>
			            </Point>
			            <Point>
			                <position>25</position>
			                <price.amount>79.19</price.amount>
			            </Point>
			            <Point>
			                <position>26</position>
			                <price.amount>89.99</price.amount>
			            </Point>
			            <Point>
			                <position>27</position>
			                <price.amount>98.27</price.amount>
			            </Point>
			            <Point>
			                <position>28</position>
			                <price.amount>117.32</price.amount>
			            </Point>
			            <Point>
			                <position>29</position>
			                <price.amount>101.88</price.amount>
			            </Point>
			            <Point>
			                <position>30</position>
			                <price.amount>116.05</price.amount>
			            </Point>
			            <Point>
			                <position>31</position>
			                <price.amount>121.06</price.amount>
			            </Point>
			            <Point>
			                <position>32</position>
			                <price.amount>125.5</price.amount>
			            </Point>
			            <Point>
			                <position>33</position>
			                <price.amount>148.39</price.amount>
			            </Point>
			            <Point>
			                <position>34</position>
			                <price.amount>146.12</price.amount>
			            </Point>
			            <Point>
			                <position>35</position>
			                <price.amount>132.74</price.amount>
			            </Point>
			            <Point>
			                <position>36</position>
			                <price.amount>103.82</price.amount>
			            </Point>
			            <Point>
			                <position>37</position>
			                <price.amount>147.5</price.amount>
			            </Point>
			            <Point>
			                <position>38</position>
			                <price.amount>132.71</price.amount>
			            </Point>
			            <Point>
			                <position>39</position>
			                <price.amount>106.38</price.amount>
			            </Point>
			            <Point>
			                <position>40</position>
			                <price.amount>93.13</price.amount>
			            </Point>
			            <Point>
			                <position>41</position>
			                <price.amount>118</price.amount>
			            </Point>
			            <Point>
			                <position>42</position>
			                <price.amount>93.73</price.amount>
			            </Point>
			            <Point>
			                <position>43</position>
			                <price.amount>81.21</price.amount>
			            </Point>
			            <Point>
			                <position>44</position>
			                <price.amount>76.01</price.amount>
			            </Point>
			            <Point>
			                <position>45</position>
			                <price.amount>102.38</price.amount>
			            </Point>
			            <Point>
			                <position>46</position>
			                <price.amount>86.71</price.amount>
			            </Point>
			            <Point>
			                <position>47</position>
			                <price.amount>85.48</price.amount>
			            </Point>
			            <Point>
			                <position>48</position>
			                <price.amount>78.66</price.amount>
			            </Point>
			            <Point>
			                <position>49</position>
			                <price.amount>89.01</price.amount>
			            </Point>
			            <Point>
			                <position>50</position>
			                <price.amount>82.76</price.amount>
			            </Point>
			            <Point>
			                <position>51</position>
			                <price.amount>83.44</price.amount>
			            </Point>
			            <Point>
			                <position>52</position>
			                <price.amount>78.4</price.amount>
			            </Point>
			            <Point>
			                <position>53</position>
			                <price.amount>84.28</price.amount>
			            </Point>
			            <Point>
			                <position>54</position>
			                <price.amount>82.54</price.amount>
			            </Point>
			            <Point>
			                <position>55</position>
			                <price.amount>80.68</price.amount>
			            </Point>
			            <Point>
			                <position>56</position>
			                <price.amount>78.4</price.amount>
			            </Point>
			            <Point>
			                <position>57</position>
			                <price.amount>76.96</price.amount>
			            </Point>
			            <Point>
			                <position>58</position>
			                <price.amount>79.25</price.amount>
			            </Point>
			            <Point>
			                <position>59</position>
			                <price.amount>81.56</price.amount>
			            </Point>
			            <Point>
			                <position>60</position>
			                <price.amount>94.15</price.amount>
			            </Point>
			            <Point>
			                <position>61</position>
			                <price.amount>72.1</price.amount>
			            </Point>
			            <Point>
			                <position>62</position>
			                <price.amount>82.42</price.amount>
			            </Point>
			            <Point>
			                <position>63</position>
			                <price.amount>85.09</price.amount>
			            </Point>
			            <Point>
			                <position>64</position>
			                <price.amount>92.5</price.amount>
			            </Point>
			            <Point>
			                <position>65</position>
			                <price.amount>68.12</price.amount>
			            </Point>
			            <Point>
			                <position>66</position>
			                <price.amount>79.48</price.amount>
			            </Point>
			            <Point>
			                <position>67</position>
			                <price.amount>92.41</price.amount>
			            </Point>
			            <Point>
			                <position>68</position>
			                <price.amount>116.1</price.amount>
			            </Point>
			            <Point>
			                <position>69</position>
			                <price.amount>78.4</price.amount>
			            </Point>
			            <Point>
			                <position>70</position>
			                <price.amount>116.06</price.amount>
			            </Point>
			            <Point>
			                <position>71</position>
			                <price.amount>132.51</price.amount>
			            </Point>
			            <Point>
			                <position>72</position>
			                <price.amount>156.69</price.amount>
			            </Point>
			            <Point>
			                <position>73</position>
			                <price.amount>109.6</price.amount>
			            </Point>
			            <Point>
			                <position>74</position>
			                <price.amount>128.7</price.amount>
			            </Point>
			            <Point>
			                <position>75</position>
			                <price.amount>135.91</price.amount>
			            </Point>
			            <Point>
			                <position>76</position>
			                <price.amount>145.79</price.amount>
			            </Point>
			            <Point>
			                <position>77</position>
			                <price.amount>137.23</price.amount>
			            </Point>
			            <Point>
			                <position>78</position>
			                <price.amount>144.29</price.amount>
			            </Point>
			            <Point>
			                <position>79</position>
			                <price.amount>144.65</price.amount>
			            </Point>
			            <Point>
			                <position>80</position>
			                <price.amount>136.19</price.amount>
			            </Point>
			            <Point>
			                <position>81</position>
			                <price.amount>145.04</price.amount>
			            </Point>
			            <Point>
			                <position>82</position>
			                <price.amount>123.38</price.amount>
			            </Point>
			            <Point>
			                <position>83</position>
			                <price.amount>128</price.amount>
			            </Point>
			            <Point>
			                <position>84</position>
			                <price.amount>105.96</price.amount>
			            </Point>
			            <Point>
			                <position>85</position>
			                <price.amount>124.53</price.amount>
			            </Point>
			            <Point>
			                <position>86</position>
			                <price.amount>106.18</price.amount>
			            </Point>
			            <Point>
			                <position>87</position>
			                <price.amount>90.47</price.amount>
			            </Point>
			            <Point>
			                <position>88</position>
			                <price.amount>87.75</price.amount>
			            </Point>
			            <Point>
			                <position>89</position>
			                <price.amount>96.5</price.amount>
			            </Point>
			            <Point>
			                <position>90</position>
			                <price.amount>100.23</price.amount>
			            </Point>
			            <Point>
			                <position>91</position>
			                <price.amount>105.99</price.amount>
			            </Point>
			            <Point>
			                <position>92</position>
			                <price.amount>96.7</price.amount>
			            </Point>
			            <Point>
			                <position>93</position>
			                <price.amount>100.87</price.amount>
			            </Point>
			            <Point>
			                <position>94</position>
			                <price.amount>95.47</price.amount>
			            </Point>
			            <Point>
			                <position>95</position>
			                <price.amount>93.2</price.amount>
			            </Point>
			            <Point>
			                <position>96</position>
			                <price.amount>83.91</price.amount>
			            </Point>
			        </Period>
			    </TimeSeries>
			</Publication_MarketDocument>
						""";

	private static final String MISSING_DATA_AND_MULTIPLE_PERIODS_XML = """
			<?xml version="1.0" encoding="utf-8"?>
			<Publication_MarketDocument xmlns="urn:iec62325.351:tc57wg16:451-3:publicationdocument:7:3">
			  <mRID>b29cfa5b47e54691a8cc110df00a748b</mRID>
			  <revisionNumber>1</revisionNumber>
			  <type>A44</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>2024-10-23T12:43:41Z</createdDateTime>
			  <period.timeInterval>
			    <start>2024-10-22T22:00Z</start>
			    <end>2024-10-24T22:00Z</end>
			  </period.timeInterval>
			      <TimeSeries>
			        <mRID>1</mRID>
			        <auction.type>A01</auction.type>
			        <businessType>A62</businessType>
			        <in_Domain.mRID codingScheme="A01">10Y1001A1001A46L</in_Domain.mRID>
			        <out_Domain.mRID codingScheme="A01">10Y1001A1001A46L</out_Domain.mRID>
			        <contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
			        <currency_Unit.name>EUR</currency_Unit.name>
			        <price_Measure_Unit.name>MWH</price_Measure_Unit.name>
			        <curveType>A03</curveType>
			            <Period>
			              <timeInterval>
			                <start>2024-10-23T22:00Z</start>
			                <end>2024-10-24T22:00Z</end>
			              </timeInterval>
			              <resolution>PT60M</resolution>
			                  <Point>
			                    <position>1</position>
			                        <price.amount>-1</price.amount>
			                  </Point>
			                  <Point>
			                    <position>3</position>
			                        <price.amount>-0.8</price.amount>
			                  </Point>
			                  <Point>
			                    <position>4</position>
			                        <price.amount>-0.52</price.amount>
			                  </Point>
			                  <Point>
			                    <position>5</position>
			                        <price.amount>0</price.amount>
			                  </Point>
			                  <Point>
			                    <position>6</position>
			                        <price.amount>0.84</price.amount>
			                  </Point>
			                  <Point>
			                    <position>7</position>
			                        <price.amount>15.47</price.amount>
			                  </Point>
			                  <Point>
			                    <position>8</position>
			                        <price.amount>27.59</price.amount>
			                  </Point>
			                  <Point>
			                    <position>9</position>
			                        <price.amount>31.86</price.amount>
			                  </Point>
			                  <Point>
			                    <position>10</position>
			                        <price.amount>36.97</price.amount>
			                  </Point>
			                  <Point>
			                    <position>11</position>
			                        <price.amount>32.96</price.amount>
			                  </Point>
			                  <Point>
			                    <position>12</position>
			                        <price.amount>31.14</price.amount>
			                  </Point>
			                  <Point>
			                    <position>13</position>
			                        <price.amount>29.92</price.amount>
			                  </Point>
			                  <Point>
			                    <position>14</position>
			                        <price.amount>29.55</price.amount>
			                  </Point>
			                  <Point>
			                    <position>15</position>
			                        <price.amount>29.71</price.amount>
			                  </Point>
			                  <Point>
			                    <position>16</position>
			                        <price.amount>29.76</price.amount>
			                  </Point>
			                  <Point>
			                    <position>17</position>
			                        <price.amount>29.98</price.amount>
			                  </Point>
			                  <Point>
			                    <position>18</position>
			                        <price.amount>59.65</price.amount>
			                  </Point>
			                  <Point>
			                    <position>19</position>
			                        <price.amount>79.41</price.amount>
			                  </Point>
			                  <Point>
			                    <position>20</position>
			                        <price.amount>39.97</price.amount>
			                  </Point>
			                  <Point>
			                    <position>21</position>
			                        <price.amount>29.93</price.amount>
			                  </Point>
			                  <Point>
			                    <position>22</position>
			                        <price.amount>27.68</price.amount>
			                  </Point>
			                  <Point>
			                    <position>23</position>
			                        <price.amount>24.95</price.amount>
			                  </Point>
			                  <Point>
			                    <position>24</position>
			                        <price.amount>13.27</price.amount>
			                  </Point>
			            </Period>
			      </TimeSeries>
			      <TimeSeries>
			        <mRID>2</mRID>
			        <auction.type>A01</auction.type>
			        <businessType>A62</businessType>
			        <in_Domain.mRID codingScheme="A01">10Y1001A1001A46L</in_Domain.mRID>
			        <out_Domain.mRID codingScheme="A01">10Y1001A1001A46L</out_Domain.mRID>
			        <contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
			        <currency_Unit.name>EUR</currency_Unit.name>
			        <price_Measure_Unit.name>MWH</price_Measure_Unit.name>
			        <curveType>A03</curveType>
			            <Period>
			              <timeInterval>
			                <start>2024-10-22T22:00Z</start>
			                <end>2024-10-23T22:00Z</end>
			              </timeInterval>
			              <resolution>PT60M</resolution>
			                  <Point>
			                    <position>1</position>
			                        <price.amount>0</price.amount>
			                  </Point>
			                  <Point>
			                    <position>2</position>
			                        <price.amount>-0.04</price.amount>
			                  </Point>
			                  <Point>
			                    <position>3</position>
			                        <price.amount>-0.54</price.amount>
			                  </Point>
			                  <Point>
			                    <position>4</position>
			                        <price.amount>-0.8</price.amount>
			                  </Point>
			                  <Point>
			                    <position>5</position>
			                        <price.amount>-0.58</price.amount>
			                  </Point>
			                  <Point>
			                    <position>6</position>
			                        <price.amount>0</price.amount>
			                  </Point>
			                  <Point>
			                    <position>7</position>
			                        <price.amount>0.48</price.amount>
			                  </Point>
			                  <Point>
			                    <position>8</position>
			                        <price.amount>4.96</price.amount>
			                  </Point>
			                  <Point>
			                    <position>9</position>
			                        <price.amount>4.9</price.amount>
			                  </Point>
			                  <Point>
			                    <position>10</position>
			                        <price.amount>2.15</price.amount>
			                  </Point>
			                  <Point>
			                    <position>11</position>
			                        <price.amount>0.92</price.amount>
			                  </Point>
			                  <Point>
			                    <position>12</position>
			                        <price.amount>0.01</price.amount>
			                  </Point>
			                  <Point>
			                    <position>13</position>
			                        <price.amount>-0.01</price.amount>
			                  </Point>
			                  <Point>
			                    <position>14</position>
			                        <price.amount>-0.06</price.amount>
			                  </Point>
			                  <Point>
			                    <position>15</position>
			                        <price.amount>-0.11</price.amount>
			                  </Point>
			                  <Point>
			                    <position>16</position>
			                        <price.amount>-0.01</price.amount>
			                  </Point>
			                  <Point>
			                    <position>17</position>
			                        <price.amount>0</price.amount>
			                  </Point>
			                  <Point>
			                    <position>18</position>
			                        <price.amount>0.8</price.amount>
			                  </Point>
			                  <Point>
			                    <position>19</position>
			                        <price.amount>0.96</price.amount>
			                  </Point>
			                  <Point>
			                    <position>20</position>
			                        <price.amount>0.01</price.amount>
			                  </Point>
			                  <Point>
			                    <position>21</position>
			                        <price.amount>0</price.amount>
			                  </Point>
			                  <Point>
			                    <position>23</position>
			                        <price.amount>-0.09</price.amount>
			                  </Point>
			                  <Point>
			                    <position>24</position>
			                        <price.amount>-0.81</price.amount>
			                  </Point>
			            </Period>
			      </TimeSeries>
			</Publication_MarketDocument>
						""";

	private static final String MISSING_DATA_FOR_QUARTER_DURATION = """
						<Publication_MarketDocument
				xmlns="urn:iec62325.351:tc57wg16:451-3:publicationdocument:7:3">
				<mRID>b800016070e147898e51672e789e6503</mRID>
				<revisionNumber>1</revisionNumber>
				<type>A44</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>2025-01-17T14:45:02Z</createdDateTime>
				<period.timeInterval>
					<start>2025-01-17T23:00Z</start>
					<end>2025-01-18T23:00Z</end>
				</period.timeInterval>
				<TimeSeries>
					<mRID>2</mRID>
					<auction.type>A01</auction.type>
					<businessType>A62</businessType>
					<in_Domain.mRID codingScheme="A01">10Y1001A1001A82H</in_Domain.mRID>
					<out_Domain.mRID codingScheme="A01">10Y1001A1001A82H</out_Domain.mRID>
					<contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
					<currency_Unit.name>EUR</currency_Unit.name>
					<price_Measure_Unit.name>MWH</price_Measure_Unit.name>
					<classificationSequence_AttributeInstanceComponent.position>1</classificationSequence_AttributeInstanceComponent.position>
					<curveType>A03</curveType>
					<Period>
						<timeInterval>
							<start>2025-01-17T23:00Z</start>
							<end>2025-01-18T22:00Z</end>
						</timeInterval>
						<resolution>PT15M</resolution>
						<Point>
							<position>1</position>
							<price.amount>145.2</price.amount>
						</Point>
						<Point>
							<position>2</position>
							<price.amount>127.6</price.amount>
						</Point>
						<Point>
							<position>3</position>
							<price.amount>116.3</price.amount>
						</Point>
						<Point>
							<position>4</position>
							<price.amount>115.32</price.amount>
						</Point>
						<Point>
							<position>5</position>
							<price.amount>138.6</price.amount>
						</Point>
						<Point>
							<position>6</position>
							<price.amount>120.54</price.amount>
						</Point>
						<Point>
							<position>7</position>
							<price.amount>115.55</price.amount>
						</Point>
						<Point>
							<position>8</position>
							<price.amount>109.3</price.amount>
						</Point>
						<Point>
							<position>9</position>
							<price.amount>122.07</price.amount>
						</Point>
						<Point>
							<position>10</position>
							<price.amount>121.6</price.amount>
						</Point>
						<Point>
							<position>11</position>
							<price.amount>119</price.amount>
						</Point>
						<Point>
							<position>12</position>
							<price.amount>116.6</price.amount>
						</Point>
						<Point>
							<position>13</position>
							<price.amount>122.9</price.amount>
						</Point>
						<Point>
							<position>14</position>
							<price.amount>119</price.amount>
						</Point>
						<Point>
							<position>15</position>
							<price.amount>118</price.amount>
						</Point>
						<Point>
							<position>16</position>
							<price.amount>114.91</price.amount>
						</Point>
						<Point>
							<position>17</position>
							<price.amount>116.9</price.amount>
						</Point>
						<Point>
							<position>18</position>
							<price.amount>117.3</price.amount>
						</Point>
						<Point>
							<position>19</position>
							<price.amount>120.8</price.amount>
						</Point>
						<Point>
							<position>20</position>
							<price.amount>117.81</price.amount>
						</Point>
						<Point>
							<position>21</position>
							<price.amount>120.2</price.amount>
						</Point>
						<Point>
							<position>22</position>
							<price.amount>116.8</price.amount>
						</Point>
						<Point>
							<position>23</position>
							<price.amount>110.9</price.amount>
						</Point>
						<Point>
							<position>24</position>
							<price.amount>124.8</price.amount>
						</Point>
						<Point>
							<position>25</position>
							<price.amount>108.25</price.amount>
						</Point>
						<Point>
							<position>26</position>
							<price.amount>116.6</price.amount>
						</Point>
						<Point>
							<position>27</position>
							<price.amount>124.6</price.amount>
						</Point>
						<Point>
							<position>28</position>
							<price.amount>141.7</price.amount>
						</Point>
						<Point>
							<position>29</position>
							<price.amount>102.11</price.amount>
						</Point>
						<Point>
							<position>30</position>
							<price.amount>132.9</price.amount>
						</Point>
						<Point>
							<position>31</position>
							<price.amount>147.1</price.amount>
						</Point>
						<Point>
							<position>32</position>
							<price.amount>162.5</price.amount>
						</Point>
						<Point>
							<position>33</position>
							<price.amount>142</price.amount>
						</Point>
						<Point>
							<position>34</position>
							<price.amount>148.2</price.amount>
						</Point>
						<Point>
							<position>35</position>
							<price.amount>150.4</price.amount>
						</Point>
						<Point>
							<position>36</position>
							<price.amount>143.5</price.amount>
						</Point>
						<Point>
							<position>37</position>
							<price.amount>160.1</price.amount>
						</Point>
						<Point>
							<position>38</position>
							<price.amount>145.3</price.amount>
						</Point>
						<Point>
							<position>39</position>
							<price.amount>139.9</price.amount>
						</Point>
						<Point>
							<position>40</position>
							<price.amount>132.7</price.amount>
						</Point>
						<Point>
							<position>41</position>
							<price.amount>164.9</price.amount>
						</Point>
						<Point>
							<position>42</position>
							<price.amount>145.6</price.amount>
						</Point>
						<Point>
							<position>43</position>
							<price.amount>134.57</price.amount>
						</Point>
						<Point>
							<position>44</position>
							<price.amount>117.1</price.amount>
						</Point>
						<Point>
							<position>45</position>
							<price.amount>144.3</price.amount>
						</Point>
						<Point>
							<position>46</position>
							<price.amount>128.4</price.amount>
						</Point>
						<Point>
							<position>47</position>
							<price.amount>120.2</price.amount>
						</Point>
						<Point>
							<position>48</position>
							<price.amount>100.93</price.amount>
						</Point>
						<Point>
							<position>49</position>
							<price.amount>141.55</price.amount>
						</Point>
						<Point>
							<position>50</position>
							<price.amount>120.2</price.amount>
						</Point>
						<Point>
							<position>51</position>
							<price.amount>114.2</price.amount>
						</Point>
						<Point>
							<position>52</position>
							<price.amount>106.5</price.amount>
						</Point>
						<Point>
							<position>53</position>
							<price.amount>117.1</price.amount>
						</Point>
						<Point>
							<position>54</position>
							<price.amount>116.5</price.amount>
						</Point>
						<Point>
							<position>55</position>
							<price.amount>116.9</price.amount>
						</Point>
						<Point>
							<position>56</position>
							<price.amount>120.6</price.amount>
						</Point>
						<Point>
							<position>57</position>
							<price.amount>95.07</price.amount>
						</Point>
						<Point>
							<position>58</position>
							<price.amount>115.49</price.amount>
						</Point>
						<Point>
							<position>59</position>
							<price.amount>128.6</price.amount>
						</Point>
						<Point>
							<position>60</position>
							<price.amount>141.2</price.amount>
						</Point>
						<Point>
							<position>61</position>
							<price.amount>98.23</price.amount>
						</Point>
						<Point>
							<position>62</position>
							<price.amount>124.9</price.amount>
						</Point>
						<Point>
							<position>63</position>
							<price.amount>139.3</price.amount>
						</Point>
						<Point>
							<position>64</position>
							<price.amount>169.5</price.amount>
						</Point>
						<Point>
							<position>65</position>
							<price.amount>107.58</price.amount>
						</Point>
						<Point>
							<position>66</position>
							<price.amount>133.8</price.amount>
						</Point>
						<Point>
							<position>67</position>
							<price.amount>160.6</price.amount>
						</Point>
						<Point>
							<position>68</position>
							<price.amount>195.8</price.amount>
						</Point>
						<Point>
							<position>69</position>
							<price.amount>140.06</price.amount>
						</Point>
						<Point>
							<position>70</position>
							<price.amount>147.5</price.amount>
						</Point>
						<Point>
							<position>71</position>
							<price.amount>155.08</price.amount>
						</Point>
						<Point>
							<position>72</position>
							<price.amount>187</price.amount>
						</Point>
						<Point>
							<position>73</position>
							<price.amount>176.5</price.amount>
						</Point>
						<Point>
							<position>74</position>
							<price.amount>164.11</price.amount>
						</Point>
						<Point>
							<position>75</position>
							<price.amount>170.9</price.amount>
						</Point>
						<Point>
							<position>76</position>
							<price.amount>167.5</price.amount>
						</Point>
						<Point>
							<position>77</position>
							<price.amount>209.6</price.amount>
						</Point>
						<Point>
							<position>78</position>
							<price.amount>166.3</price.amount>
						</Point>
						<Point>
							<position>79</position>
							<price.amount>147.58</price.amount>
						</Point>
						<Point>
							<position>80</position>
							<price.amount>132.57</price.amount>
						</Point>
						<Point>
							<position>81</position>
							<price.amount>189.93</price.amount>
						</Point>
						<Point>
							<position>82</position>
							<price.amount>150.6</price.amount>
						</Point>
						<Point>
							<position>83</position>
							<price.amount>133.6</price.amount>
						</Point>
						<Point>
							<position>84</position>
							<price.amount>119</price.amount>
						</Point>
						<Point>
							<position>85</position>
							<price.amount>163.1</price.amount>
						</Point>
						<Point>
							<position>86</position>
							<price.amount>140.9</price.amount>
						</Point>
						<Point>
							<position>87</position>
							<price.amount>128.8</price.amount>
						</Point>
						<Point>
							<position>88</position>
							<price.amount>123.99</price.amount>
						</Point>
						<Point>
							<position>89</position>
							<price.amount>143.3</price.amount>
						</Point>
						<Point>
							<position>90</position>
							<price.amount>131</price.amount>
						</Point>
						<Point>
							<position>91</position>
							<price.amount>135.2</price.amount>
						</Point>
						<Point>
							<position>92</position>
							<price.amount>118.52</price.amount>
						</Point>
					</Period>
				</TimeSeries>
				<TimeSeries>
					<mRID>3</mRID>
					<auction.type>A01</auction.type>
					<businessType>A62</businessType>
					<in_Domain.mRID codingScheme="A01">10Y1001A1001A82H</in_Domain.mRID>
					<out_Domain.mRID codingScheme="A01">10Y1001A1001A82H</out_Domain.mRID>
					<contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
					<currency_Unit.name>EUR</currency_Unit.name>
					<price_Measure_Unit.name>MWH</price_Measure_Unit.name>
					<classificationSequence_AttributeInstanceComponent.position>1</classificationSequence_AttributeInstanceComponent.position>
					<curveType>A03</curveType>
					<Period>
						<timeInterval>
							<start>2025-01-17T23:00Z</start>
							<end>2025-01-18T23:00Z</end>
						</timeInterval>
						<resolution>PT60M</resolution>
						<Point>
							<position>1</position>
							<price.amount>125.29</price.amount>
						</Point>
						<Point>
							<position>2</position>
							<price.amount>121.05</price.amount>
						</Point>
						<Point>
							<position>3</position>
							<price.amount>120.98</price.amount>
						</Point>
						<Point>
							<position>4</position>
							<price.amount>118.85</price.amount>
						</Point>
						<Point>
							<position>5</position>
							<price.amount>116.46</price.amount>
						</Point>
						<Point>
							<position>6</position>
							<price.amount>119.77</price.amount>
						</Point>
						<Point>
							<position>7</position>
							<price.amount>119.75</price.amount>
						</Point>
						<Point>
							<position>8</position>
							<price.amount>133.39</price.amount>
						</Point>
						<Point>
							<position>9</position>
							<price.amount>145.63</price.amount>
						</Point>
						<Point>
							<position>10</position>
							<price.amount>144.1</price.amount>
						</Point>
						<Point>
							<position>11</position>
							<price.amount>131.21</price.amount>
						</Point>
						<Point>
							<position>12</position>
							<price.amount>121.56</price.amount>
						</Point>
						<Point>
							<position>13</position>
							<price.amount>118.87</price.amount>
						</Point>
						<Point>
							<position>14</position>
							<price.amount>115.01</price.amount>
						</Point>
						<Point>
							<position>15</position>
							<price.amount>119.32</price.amount>
						</Point>
						<Point>
							<position>16</position>
							<price.amount>133.32</price.amount>
						</Point>
						<Point>
							<position>17</position>
							<price.amount>149.71</price.amount>
						</Point>
						<Point>
							<position>18</position>
							<price.amount>164.59</price.amount>
						</Point>
						<Point>
							<position>19</position>
							<price.amount>167.57</price.amount>
						</Point>
						<Point>
							<position>20</position>
							<price.amount>167.85</price.amount>
						</Point>
						<Point>
							<position>21</position>
							<price.amount>156.12</price.amount>
						</Point>
						<Point>
							<position>22</position>
							<price.amount>143.42</price.amount>
						</Point>
						<Point>
							<position>23</position>
							<price.amount>136.4</price.amount>
						</Point>
						<Point>
							<position>24</position>
							<price.amount>129.36</price.amount>
						</Point>
					</Period>
				</TimeSeries>
			</Publication_MarketDocument>
									""";

	private static final String XML_ONLY_WITH_SEQUENCE_2 = """
			<?xml version="1.0" encoding="utf-8"?>
			<Publication_MarketDocument xmlns="urn:iec62325.351:tc57wg16:451-3:publicationdocument:7:3">
			    <mRID>81f7d5e24d23406994ac062ccfbb5e35</mRID>
			    <revisionNumber>1</revisionNumber>
			    <type>A44</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>2025-10-21T06:48:16Z</createdDateTime>
			    <period.timeInterval>
			        <start>2025-10-20T22:00Z</start>
			        <end>2025-10-21T22:00Z</end>
			    </period.timeInterval>
			    <TimeSeries>
			        <mRID>1</mRID>
			        <auction.type>A01</auction.type>
			        <businessType>A62</businessType>
			        <in_Domain.mRID codingScheme="A01">10Y1001A1001A82H</in_Domain.mRID>
			        <out_Domain.mRID codingScheme="A01">10Y1001A1001A82H</out_Domain.mRID>
			        <contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
			        <currency_Unit.name>EUR</currency_Unit.name>
			        <price_Measure_Unit.name>MWH</price_Measure_Unit.name>
			        <classificationSequence_AttributeInstanceComponent.position>2</classificationSequence_AttributeInstanceComponent.position>
			        <curveType>A03</curveType>
			        <Period>
			            <timeInterval>
			                <start>2025-10-20T22:00Z</start>
			                <end>2025-10-21T22:00Z</end>
			            </timeInterval>
			            <resolution>PT15M</resolution>
			            <Point>
			                <position>1</position>
			                <price.amount>49.93</price.amount>
			            </Point>
			            <Point>
			                <position>2</position>
			                <price.amount>49.96</price.amount>
			            </Point>
			            <Point>
			                <position>3</position>
			                <price.amount>44.9</price.amount>
			            </Point>
			            <Point>
			                <position>4</position>
			                <price.amount>35.7</price.amount>
			            </Point>
			            <Point>
			                <position>5</position>
			                <price.amount>25.09</price.amount>
			            </Point>
			            <Point>
			                <position>7</position>
			                <price.amount>25.07</price.amount>
			            </Point>
			            <Point>
			                <position>8</position>
			                <price.amount>33.39</price.amount>
			            </Point>
			            <Point>
			                <position>9</position>
			                <price.amount>25.1</price.amount>
			            </Point>
			            <Point>
			                <position>10</position>
			                <price.amount>26.94</price.amount>
			            </Point>
			            <Point>
			                <position>12</position>
			                <price.amount>22.6</price.amount>
			            </Point>
			            <Point>
			                <position>13</position>
			                <price.amount>22.53</price.amount>
			            </Point>
			            <Point>
			                <position>15</position>
			                <price.amount>5.97</price.amount>
			            </Point>
			            <Point>
			                <position>16</position>
			                <price.amount>22.52</price.amount>
			            </Point>
			            <Point>
			                <position>17</position>
			                <price.amount>34.87</price.amount>
			            </Point>
			            <Point>
			                <position>18</position>
			                <price.amount>22.6</price.amount>
			            </Point>
			            <Point>
			                <position>20</position>
			                <price.amount>25.09</price.amount>
			            </Point>
			            <Point>
			                <position>21</position>
			                <price.amount>30</price.amount>
			            </Point>
			            <Point>
			                <position>22</position>
			                <price.amount>27.59</price.amount>
			            </Point>
			            <Point>
			                <position>23</position>
			                <price.amount>32.13</price.amount>
			            </Point>
			            <Point>
			                <position>24</position>
			                <price.amount>32.56</price.amount>
			            </Point>
			            <Point>
			                <position>25</position>
			                <price.amount>59.93</price.amount>
			            </Point>
			            <Point>
			                <position>26</position>
			                <price.amount>52</price.amount>
			            </Point>
			            <Point>
			                <position>27</position>
			                <price.amount>74.2</price.amount>
			            </Point>
			            <Point>
			                <position>28</position>
			                <price.amount>86.84</price.amount>
			            </Point>
			            <Point>
			                <position>29</position>
			                <price.amount>61.09</price.amount>
			            </Point>
			            <Point>
			                <position>30</position>
			                <price.amount>78.3</price.amount>
			            </Point>
			            <Point>
			                <position>31</position>
			                <price.amount>97.4</price.amount>
			            </Point>
			            <Point>
			                <position>32</position>
			                <price.amount>104</price.amount>
			            </Point>
			            <Point>
			                <position>33</position>
			                <price.amount>108.1</price.amount>
			            </Point>
			            <Point>
			                <position>34</position>
			                <price.amount>93.5</price.amount>
			            </Point>
			            <Point>
			                <position>35</position>
			                <price.amount>84</price.amount>
			            </Point>
			            <Point>
			                <position>36</position>
			                <price.amount>79.78</price.amount>
			            </Point>
			            <Point>
			                <position>37</position>
			                <price.amount>88.7</price.amount>
			            </Point>
			            <Point>
			                <position>38</position>
			                <price.amount>77.7</price.amount>
			            </Point>
			            <Point>
			                <position>39</position>
			                <price.amount>78.97</price.amount>
			            </Point>
			            <Point>
			                <position>40</position>
			                <price.amount>70.2</price.amount>
			            </Point>
			            <Point>
			                <position>41</position>
			                <price.amount>83.6</price.amount>
			            </Point>
			            <Point>
			                <position>42</position>
			                <price.amount>71.1</price.amount>
			            </Point>
			            <Point>
			                <position>43</position>
			                <price.amount>62</price.amount>
			            </Point>
			            <Point>
			                <position>44</position>
			                <price.amount>59.64</price.amount>
			            </Point>
			            <Point>
			                <position>45</position>
			                <price.amount>57.55</price.amount>
			            </Point>
			            <Point>
			                <position>46</position>
			                <price.amount>56.03</price.amount>
			            </Point>
			            <Point>
			                <position>47</position>
			                <price.amount>57.8</price.amount>
			            </Point>
			            <Point>
			                <position>48</position>
			                <price.amount>52.9</price.amount>
			            </Point>
			            <Point>
			                <position>49</position>
			                <price.amount>47.53</price.amount>
			            </Point>
			            <Point>
			                <position>50</position>
			                <price.amount>42.54</price.amount>
			            </Point>
			            <Point>
			                <position>51</position>
			                <price.amount>40.06</price.amount>
			            </Point>
			            <Point>
			                <position>52</position>
			                <price.amount>40.07</price.amount>
			            </Point>
			            <Point>
			                <position>53</position>
			                <price.amount>23.66</price.amount>
			            </Point>
			            <Point>
			                <position>54</position>
			                <price.amount>40.01</price.amount>
			            </Point>
			            <Point>
			                <position>55</position>
			                <price.amount>40.02</price.amount>
			            </Point>
			            <Point>
			                <position>56</position>
			                <price.amount>23.66</price.amount>
			            </Point>
			            <Point>
			                <position>57</position>
			                <price.amount>42.46</price.amount>
			            </Point>
			            <Point>
			                <position>58</position>
			                <price.amount>20.09</price.amount>
			            </Point>
			            <Point>
			                <position>59</position>
			                <price.amount>50.02</price.amount>
			            </Point>
			            <Point>
			                <position>60</position>
			                <price.amount>35.07</price.amount>
			            </Point>
			            <Point>
			                <position>61</position>
			                <price.amount>50.01</price.amount>
			            </Point>
			            <Point>
			                <position>62</position>
			                <price.amount>54.53</price.amount>
			            </Point>
			            <Point>
			                <position>63</position>
			                <price.amount>60.09</price.amount>
			            </Point>
			            <Point>
			                <position>64</position>
			                <price.amount>74.6</price.amount>
			            </Point>
			            <Point>
			                <position>65</position>
			                <price.amount>52.56</price.amount>
			            </Point>
			            <Point>
			                <position>66</position>
			                <price.amount>65.3</price.amount>
			            </Point>
			            <Point>
			                <position>67</position>
			                <price.amount>79.9</price.amount>
			            </Point>
			            <Point>
			                <position>68</position>
			                <price.amount>94.3</price.amount>
			            </Point>
			            <Point>
			                <position>69</position>
			                <price.amount>80.8</price.amount>
			            </Point>
			            <Point>
			                <position>70</position>
			                <price.amount>98.9</price.amount>
			            </Point>
			            <Point>
			                <position>71</position>
			                <price.amount>115.88</price.amount>
			            </Point>
			            <Point>
			                <position>72</position>
			                <price.amount>122.6</price.amount>
			            </Point>
			            <Point>
			                <position>73</position>
			                <price.amount>117.52</price.amount>
			            </Point>
			            <Point>
			                <position>74</position>
			                <price.amount>120.4</price.amount>
			            </Point>
			            <Point>
			                <position>75</position>
			                <price.amount>133.5</price.amount>
			            </Point>
			            <Point>
			                <position>76</position>
			                <price.amount>121.42</price.amount>
			            </Point>
			            <Point>
			                <position>77</position>
			                <price.amount>125.03</price.amount>
			            </Point>
			            <Point>
			                <position>78</position>
			                <price.amount>116.3</price.amount>
			            </Point>
			            <Point>
			                <position>79</position>
			                <price.amount>122.8</price.amount>
			            </Point>
			            <Point>
			                <position>80</position>
			                <price.amount>95.07</price.amount>
			            </Point>
			            <Point>
			                <position>81</position>
			                <price.amount>115.6</price.amount>
			            </Point>
			            <Point>
			                <position>82</position>
			                <price.amount>100.74</price.amount>
			            </Point>
			            <Point>
			                <position>83</position>
			                <price.amount>96.9</price.amount>
			            </Point>
			            <Point>
			                <position>84</position>
			                <price.amount>88.6</price.amount>
			            </Point>
			            <Point>
			                <position>85</position>
			                <price.amount>101.37</price.amount>
			            </Point>
			            <Point>
			                <position>86</position>
			                <price.amount>95.4</price.amount>
			            </Point>
			            <Point>
			                <position>87</position>
			                <price.amount>82.8</price.amount>
			            </Point>
			            <Point>
			                <position>88</position>
			                <price.amount>72.3</price.amount>
			            </Point>
			            <Point>
			                <position>89</position>
			                <price.amount>94.9</price.amount>
			            </Point>
			            <Point>
			                <position>90</position>
			                <price.amount>83.7</price.amount>
			            </Point>
			            <Point>
			                <position>91</position>
			                <price.amount>75.1</price.amount>
			            </Point>
			            <Point>
			                <position>92</position>
			                <price.amount>67.76</price.amount>
			            </Point>
			            <Point>
			                <position>93</position>
			                <price.amount>79.8</price.amount>
			            </Point>
			            <Point>
			                <position>94</position>
			                <price.amount>71.45</price.amount>
			            </Point>
			            <Point>
			                <position>95</position>
			                <price.amount>71.3</price.amount>
			            </Point>
			            <Point>
			                <position>96</position>
			                <price.amount>60.7</price.amount>
			            </Point>
			        </Period>
			    </TimeSeries>
			</Publication_MarketDocument>
			""";

	private static final String XML_WITH_BOTH_SEQUENCE_1_AND_2 = """
			<?xml version="1.0" encoding="utf-8"?>
			<Publication_MarketDocument xmlns="urn:iec62325.351:tc57wg16:451-3:publicationdocument:7:3">
			    <mRID>02e1f1d45611462e98571d248d439474</mRID>
			    <revisionNumber>1</revisionNumber>
			    <type>A44</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>2025-10-16T07:45:08Z</createdDateTime>
			    <period.timeInterval>
			        <start>2025-10-14T22:00Z</start>
			        <end>2025-10-16T22:00Z</end>
			    </period.timeInterval>
			    <TimeSeries>
			        <mRID>1</mRID>
			        <auction.type>A01</auction.type>
			        <businessType>A62</businessType>
			        <in_Domain.mRID codingScheme="A01">10Y1001A1001A82H</in_Domain.mRID>
			        <out_Domain.mRID codingScheme="A01">10Y1001A1001A82H</out_Domain.mRID>
			        <contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
			        <currency_Unit.name>EUR</currency_Unit.name>
			        <price_Measure_Unit.name>MWH</price_Measure_Unit.name>
			        <classificationSequence_AttributeInstanceComponent.position>2</classificationSequence_AttributeInstanceComponent.position>
			        <curveType>A03</curveType>
			        <Period>
			            <timeInterval>
			                <start>2025-10-14T22:00Z</start>
			                <end>2025-10-15T22:00Z</end>
			            </timeInterval>
			            <resolution>PT15M</resolution>
			            <Point>
			                <position>1</position>
			                <price.amount>117.2</price.amount>
			            </Point>
			            <Point>
			                <position>2</position>
			                <price.amount>111.2</price.amount>
			            </Point>
			            <Point>
			                <position>3</position>
			                <price.amount>105.5</price.amount>
			            </Point>
			            <Point>
			                <position>4</position>
			                <price.amount>105.3</price.amount>
			            </Point>
			            <Point>
			                <position>5</position>
			                <price.amount>109.6</price.amount>
			            </Point>
			            <Point>
			                <position>6</position>
			                <price.amount>105.5</price.amount>
			            </Point>
			            <Point>
			                <position>7</position>
			                <price.amount>98.8</price.amount>
			            </Point>
			            <Point>
			                <position>8</position>
			                <price.amount>94.09</price.amount>
			            </Point>
			            <Point>
			                <position>9</position>
			                <price.amount>106.3</price.amount>
			            </Point>
			            <Point>
			                <position>10</position>
			                <price.amount>101.5</price.amount>
			            </Point>
			            <Point>
			                <position>11</position>
			                <price.amount>100.89</price.amount>
			            </Point>
			            <Point>
			                <position>13</position>
			                <price.amount>102.92</price.amount>
			            </Point>
			            <Point>
			                <position>15</position>
			                <price.amount>98.2</price.amount>
			            </Point>
			            <Point>
			                <position>17</position>
			                <price.amount>107.5</price.amount>
			            </Point>
			            <Point>
			                <position>18</position>
			                <price.amount>99.25</price.amount>
			            </Point>
			            <Point>
			                <position>19</position>
			                <price.amount>101.2</price.amount>
			            </Point>
			            <Point>
			                <position>20</position>
			                <price.amount>105.09</price.amount>
			            </Point>
			            <Point>
			                <position>21</position>
			                <price.amount>97.07</price.amount>
			            </Point>
			            <Point>
			                <position>22</position>
			                <price.amount>102.59</price.amount>
			            </Point>
			            <Point>
			                <position>23</position>
			                <price.amount>112.58</price.amount>
			            </Point>
			            <Point>
			                <position>24</position>
			                <price.amount>122.55</price.amount>
			            </Point>
			            <Point>
			                <position>25</position>
			                <price.amount>131.9</price.amount>
			            </Point>
			            <Point>
			                <position>26</position>
			                <price.amount>138.4</price.amount>
			            </Point>
			            <Point>
			                <position>27</position>
			                <price.amount>145.07</price.amount>
			            </Point>
			            <Point>
			                <position>28</position>
			                <price.amount>160.07</price.amount>
			            </Point>
			            <Point>
			                <position>29</position>
			                <price.amount>286.34</price.amount>
			            </Point>
			            <Point>
			                <position>30</position>
			                <price.amount>257.09</price.amount>
			            </Point>
			            <Point>
			                <position>31</position>
			                <price.amount>286.34</price.amount>
			            </Point>
			            <Point>
			                <position>32</position>
			                <price.amount>280</price.amount>
			            </Point>
			            <Point>
			                <position>33</position>
			                <price.amount>251.9</price.amount>
			            </Point>
			            <Point>
			                <position>34</position>
			                <price.amount>234</price.amount>
			            </Point>
			            <Point>
			                <position>35</position>
			                <price.amount>241.11</price.amount>
			            </Point>
			            <Point>
			                <position>36</position>
			                <price.amount>255.47</price.amount>
			            </Point>
			            <Point>
			                <position>37</position>
			                <price.amount>201.26</price.amount>
			            </Point>
			            <Point>
			                <position>38</position>
			                <price.amount>186.4</price.amount>
			            </Point>
			            <Point>
			                <position>39</position>
			                <price.amount>173.7</price.amount>
			            </Point>
			            <Point>
			                <position>40</position>
			                <price.amount>156.8</price.amount>
			            </Point>
			            <Point>
			                <position>41</position>
			                <price.amount>167.44</price.amount>
			            </Point>
			            <Point>
			                <position>42</position>
			                <price.amount>147.48</price.amount>
			            </Point>
			            <Point>
			                <position>43</position>
			                <price.amount>134.79</price.amount>
			            </Point>
			            <Point>
			                <position>44</position>
			                <price.amount>118.3</price.amount>
			            </Point>
			            <Point>
			                <position>45</position>
			                <price.amount>141.7</price.amount>
			            </Point>
			            <Point>
			                <position>46</position>
			                <price.amount>129.5</price.amount>
			            </Point>
			            <Point>
			                <position>47</position>
			                <price.amount>117.9</price.amount>
			            </Point>
			            <Point>
			                <position>48</position>
			                <price.amount>107.7</price.amount>
			            </Point>
			            <Point>
			                <position>49</position>
			                <price.amount>120.9</price.amount>
			            </Point>
			            <Point>
			                <position>50</position>
			                <price.amount>108.4</price.amount>
			            </Point>
			            <Point>
			                <position>51</position>
			                <price.amount>104.15</price.amount>
			            </Point>
			            <Point>
			                <position>52</position>
			                <price.amount>93.2</price.amount>
			            </Point>
			            <Point>
			                <position>53</position>
			                <price.amount>113.1</price.amount>
			            </Point>
			            <Point>
			                <position>54</position>
			                <price.amount>104</price.amount>
			            </Point>
			            <Point>
			                <position>55</position>
			                <price.amount>100.9</price.amount>
			            </Point>
			            <Point>
			                <position>56</position>
			                <price.amount>95.99</price.amount>
			            </Point>
			            <Point>
			                <position>57</position>
			                <price.amount>103.9</price.amount>
			            </Point>
			            <Point>
			                <position>58</position>
			                <price.amount>105.1</price.amount>
			            </Point>
			            <Point>
			                <position>59</position>
			                <price.amount>106</price.amount>
			            </Point>
			            <Point>
			                <position>60</position>
			                <price.amount>107.76</price.amount>
			            </Point>
			            <Point>
			                <position>61</position>
			                <price.amount>107.4</price.amount>
			            </Point>
			            <Point>
			                <position>62</position>
			                <price.amount>108.9</price.amount>
			            </Point>
			            <Point>
			                <position>63</position>
			                <price.amount>116.6</price.amount>
			            </Point>
			            <Point>
			                <position>64</position>
			                <price.amount>128.2</price.amount>
			            </Point>
			            <Point>
			                <position>65</position>
			                <price.amount>102.47</price.amount>
			            </Point>
			            <Point>
			                <position>66</position>
			                <price.amount>118.7</price.amount>
			            </Point>
			            <Point>
			                <position>67</position>
			                <price.amount>131.85</price.amount>
			            </Point>
			            <Point>
			                <position>68</position>
			                <price.amount>142.58</price.amount>
			            </Point>
			            <Point>
			                <position>69</position>
			                <price.amount>140.8</price.amount>
			            </Point>
			            <Point>
			                <position>70</position>
			                <price.amount>168.5</price.amount>
			            </Point>
			            <Point>
			                <position>71</position>
			                <price.amount>170.29</price.amount>
			            </Point>
			            <Point>
			                <position>72</position>
			                <price.amount>187.48</price.amount>
			            </Point>
			            <Point>
			                <position>73</position>
			                <price.amount>231.4</price.amount>
			            </Point>
			            <Point>
			                <position>74</position>
			                <price.amount>245.2</price.amount>
			            </Point>
			            <Point>
			                <position>75</position>
			                <price.amount>241.41</price.amount>
			            </Point>
			            <Point>
			                <position>76</position>
			                <price.amount>239.12</price.amount>
			            </Point>
			            <Point>
			                <position>77</position>
			                <price.amount>289.92</price.amount>
			            </Point>
			            <Point>
			                <position>78</position>
			                <price.amount>230.78</price.amount>
			            </Point>
			            <Point>
			                <position>79</position>
			                <price.amount>212.72</price.amount>
			            </Point>
			            <Point>
			                <position>80</position>
			                <price.amount>187.07</price.amount>
			            </Point>
			            <Point>
			                <position>81</position>
			                <price.amount>226.06</price.amount>
			            </Point>
			            <Point>
			                <position>82</position>
			                <price.amount>172.5</price.amount>
			            </Point>
			            <Point>
			                <position>83</position>
			                <price.amount>154.96</price.amount>
			            </Point>
			            <Point>
			                <position>84</position>
			                <price.amount>133.9</price.amount>
			            </Point>
			            <Point>
			                <position>85</position>
			                <price.amount>154.2</price.amount>
			            </Point>
			            <Point>
			                <position>86</position>
			                <price.amount>139.6</price.amount>
			            </Point>
			            <Point>
			                <position>87</position>
			                <price.amount>129.9</price.amount>
			            </Point>
			            <Point>
			                <position>88</position>
			                <price.amount>116.9</price.amount>
			            </Point>
			            <Point>
			                <position>89</position>
			                <price.amount>133.8</price.amount>
			            </Point>
			            <Point>
			                <position>90</position>
			                <price.amount>116.85</price.amount>
			            </Point>
			            <Point>
			                <position>91</position>
			                <price.amount>115</price.amount>
			            </Point>
			            <Point>
			                <position>92</position>
			                <price.amount>104.3</price.amount>
			            </Point>
			            <Point>
			                <position>93</position>
			                <price.amount>115.7</price.amount>
			            </Point>
			            <Point>
			                <position>94</position>
			                <price.amount>112.48</price.amount>
			            </Point>
			            <Point>
			                <position>95</position>
			                <price.amount>103.6</price.amount>
			            </Point>
			            <Point>
			                <position>96</position>
			                <price.amount>92</price.amount>
			            </Point>
			        </Period>
			    </TimeSeries>
			    <TimeSeries>
			        <mRID>2</mRID>
			        <auction.type>A01</auction.type>
			        <businessType>A62</businessType>
			        <in_Domain.mRID codingScheme="A01">10Y1001A1001A82H</in_Domain.mRID>
			        <out_Domain.mRID codingScheme="A01">10Y1001A1001A82H</out_Domain.mRID>
			        <contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
			        <currency_Unit.name>EUR</currency_Unit.name>
			        <price_Measure_Unit.name>MWH</price_Measure_Unit.name>
			        <classificationSequence_AttributeInstanceComponent.position>1</classificationSequence_AttributeInstanceComponent.position>
			        <curveType>A03</curveType>
			        <Period>
			            <timeInterval>
			                <start>2025-10-14T22:00Z</start>
			                <end>2025-10-15T22:00Z</end>
			            </timeInterval>
			            <resolution>PT15M</resolution>
			            <Point>
			                <position>1</position>
			                <price.amount>120.26</price.amount>
			            </Point>
			            <Point>
			                <position>2</position>
			                <price.amount>116.09</price.amount>
			            </Point>
			            <Point>
			                <position>3</position>
			                <price.amount>113.53</price.amount>
			            </Point>
			            <Point>
			                <position>4</position>
			                <price.amount>111.97</price.amount>
			            </Point>
			            <Point>
			                <position>5</position>
			                <price.amount>117.16</price.amount>
			            </Point>
			            <Point>
			                <position>6</position>
			                <price.amount>112.45</price.amount>
			            </Point>
			            <Point>
			                <position>7</position>
			                <price.amount>110.16</price.amount>
			            </Point>
			            <Point>
			                <position>8</position>
			                <price.amount>107.69</price.amount>
			            </Point>
			            <Point>
			                <position>9</position>
			                <price.amount>110.15</price.amount>
			            </Point>
			            <Point>
			                <position>10</position>
			                <price.amount>108.38</price.amount>
			            </Point>
			            <Point>
			                <position>11</position>
			                <price.amount>106.29</price.amount>
			            </Point>
			            <Point>
			                <position>12</position>
			                <price.amount>105.9</price.amount>
			            </Point>
			            <Point>
			                <position>13</position>
			                <price.amount>105.98</price.amount>
			            </Point>
			            <Point>
			                <position>14</position>
			                <price.amount>104.94</price.amount>
			            </Point>
			            <Point>
			                <position>15</position>
			                <price.amount>101.43</price.amount>
			            </Point>
			            <Point>
			                <position>16</position>
			                <price.amount>102.12</price.amount>
			            </Point>
			            <Point>
			                <position>17</position>
			                <price.amount>102.06</price.amount>
			            </Point>
			            <Point>
			                <position>18</position>
			                <price.amount>104.76</price.amount>
			            </Point>
			            <Point>
			                <position>19</position>
			                <price.amount>107.21</price.amount>
			            </Point>
			            <Point>
			                <position>20</position>
			                <price.amount>111.89</price.amount>
			            </Point>
			            <Point>
			                <position>21</position>
			                <price.amount>108.85</price.amount>
			            </Point>
			            <Point>
			                <position>22</position>
			                <price.amount>112.74</price.amount>
			            </Point>
			            <Point>
			                <position>23</position>
			                <price.amount>116.6</price.amount>
			            </Point>
			            <Point>
			                <position>24</position>
			                <price.amount>119.4</price.amount>
			            </Point>
			            <Point>
			                <position>25</position>
			                <price.amount>117.12</price.amount>
			            </Point>
			            <Point>
			                <position>26</position>
			                <price.amount>131.33</price.amount>
			            </Point>
			            <Point>
			                <position>27</position>
			                <price.amount>164.35</price.amount>
			            </Point>
			            <Point>
			                <position>28</position>
			                <price.amount>195.04</price.amount>
			            </Point>
			            <Point>
			                <position>29</position>
			                <price.amount>211.75</price.amount>
			            </Point>
			            <Point>
			                <position>30</position>
			                <price.amount>270.1</price.amount>
			            </Point>
			            <Point>
			                <position>31</position>
			                <price.amount>319.58</price.amount>
			            </Point>
			            <Point>
			                <position>32</position>
			                <price.amount>313.53</price.amount>
			            </Point>
			            <Point>
			                <position>33</position>
			                <price.amount>354.61</price.amount>
			            </Point>
			            <Point>
			                <position>34</position>
			                <price.amount>304.77</price.amount>
			            </Point>
			            <Point>
			                <position>35</position>
			                <price.amount>247.13</price.amount>
			            </Point>
			            <Point>
			                <position>36</position>
			                <price.amount>198.28</price.amount>
			            </Point>
			            <Point>
			                <position>37</position>
			                <price.amount>252.11</price.amount>
			            </Point>
			            <Point>
			                <position>38</position>
			                <price.amount>197.67</price.amount>
			            </Point>
			            <Point>
			                <position>39</position>
			                <price.amount>143.43</price.amount>
			            </Point>
			            <Point>
			                <position>40</position>
			                <price.amount>131</price.amount>
			            </Point>
			            <Point>
			                <position>41</position>
			                <price.amount>184.44</price.amount>
			            </Point>
			            <Point>
			                <position>42</position>
			                <price.amount>141.01</price.amount>
			            </Point>
			            <Point>
			                <position>43</position>
			                <price.amount>131.88</price.amount>
			            </Point>
			            <Point>
			                <position>44</position>
			                <price.amount>112.1</price.amount>
			            </Point>
			            <Point>
			                <position>45</position>
			                <price.amount>145.77</price.amount>
			            </Point>
			            <Point>
			                <position>46</position>
			                <price.amount>130.42</price.amount>
			            </Point>
			            <Point>
			                <position>47</position>
			                <price.amount>117.22</price.amount>
			            </Point>
			            <Point>
			                <position>48</position>
			                <price.amount>111.01</price.amount>
			            </Point>
			            <Point>
			                <position>49</position>
			                <price.amount>127.91</price.amount>
			            </Point>
			            <Point>
			                <position>50</position>
			                <price.amount>124.04</price.amount>
			            </Point>
			            <Point>
			                <position>51</position>
			                <price.amount>115.92</price.amount>
			            </Point>
			            <Point>
			                <position>52</position>
			                <price.amount>109.83</price.amount>
			            </Point>
			            <Point>
			                <position>53</position>
			                <price.amount>118.01</price.amount>
			            </Point>
			            <Point>
			                <position>54</position>
			                <price.amount>115.82</price.amount>
			            </Point>
			            <Point>
			                <position>55</position>
			                <price.amount>111</price.amount>
			            </Point>
			            <Point>
			                <position>56</position>
			                <price.amount>106.68</price.amount>
			            </Point>
			            <Point>
			                <position>57</position>
			                <price.amount>107.51</price.amount>
			            </Point>
			            <Point>
			                <position>58</position>
			                <price.amount>109.68</price.amount>
			            </Point>
			            <Point>
			                <position>59</position>
			                <price.amount>116.98</price.amount>
			            </Point>
			            <Point>
			                <position>60</position>
			                <price.amount>127.4</price.amount>
			            </Point>
			            <Point>
			                <position>61</position>
			                <price.amount>103.7</price.amount>
			            </Point>
			            <Point>
			                <position>62</position>
			                <price.amount>107.64</price.amount>
			            </Point>
			            <Point>
			                <position>63</position>
			                <price.amount>124.93</price.amount>
			            </Point>
			            <Point>
			                <position>64</position>
			                <price.amount>154.3</price.amount>
			            </Point>
			            <Point>
			                <position>65</position>
			                <price.amount>101.51</price.amount>
			            </Point>
			            <Point>
			                <position>66</position>
			                <price.amount>118.71</price.amount>
			            </Point>
			            <Point>
			                <position>67</position>
			                <price.amount>147.98</price.amount>
			            </Point>
			            <Point>
			                <position>68</position>
			                <price.amount>174.57</price.amount>
			            </Point>
			            <Point>
			                <position>69</position>
			                <price.amount>105.02</price.amount>
			            </Point>
			            <Point>
			                <position>70</position>
			                <price.amount>130.3</price.amount>
			            </Point>
			            <Point>
			                <position>71</position>
			                <price.amount>183.17</price.amount>
			            </Point>
			            <Point>
			                <position>72</position>
			                <price.amount>261.51</price.amount>
			            </Point>
			            <Point>
			                <position>73</position>
			                <price.amount>156.76</price.amount>
			            </Point>
			            <Point>
			                <position>74</position>
			                <price.amount>189.62</price.amount>
			            </Point>
			            <Point>
			                <position>75</position>
			                <price.amount>246.84</price.amount>
			            </Point>
			            <Point>
			                <position>76</position>
			                <price.amount>294.29</price.amount>
			            </Point>
			            <Point>
			                <position>77</position>
			                <price.amount>293.57</price.amount>
			            </Point>
			            <Point>
			                <position>78</position>
			                <price.amount>242.91</price.amount>
			            </Point>
			            <Point>
			                <position>79</position>
			                <price.amount>182.93</price.amount>
			            </Point>
			            <Point>
			                <position>80</position>
			                <price.amount>160.59</price.amount>
			            </Point>
			            <Point>
			                <position>81</position>
			                <price.amount>213.51</price.amount>
			            </Point>
			            <Point>
			                <position>82</position>
			                <price.amount>158.01</price.amount>
			            </Point>
			            <Point>
			                <position>83</position>
			                <price.amount>124.95</price.amount>
			            </Point>
			            <Point>
			                <position>84</position>
			                <price.amount>114.91</price.amount>
			            </Point>
			            <Point>
			                <position>85</position>
			                <price.amount>153.28</price.amount>
			            </Point>
			            <Point>
			                <position>86</position>
			                <price.amount>131.41</price.amount>
			            </Point>
			            <Point>
			                <position>87</position>
			                <price.amount>118.17</price.amount>
			            </Point>
			            <Point>
			                <position>88</position>
			                <price.amount>94.51</price.amount>
			            </Point>
			            <Point>
			                <position>89</position>
			                <price.amount>114.72</price.amount>
			            </Point>
			            <Point>
			                <position>90</position>
			                <price.amount>101.31</price.amount>
			            </Point>
			            <Point>
			                <position>91</position>
			                <price.amount>95.35</price.amount>
			            </Point>
			            <Point>
			                <position>92</position>
			                <price.amount>81.46</price.amount>
			            </Point>
			            <Point>
			                <position>93</position>
			                <price.amount>95.39</price.amount>
			            </Point>
			            <Point>
			                <position>94</position>
			                <price.amount>87.17</price.amount>
			            </Point>
			            <Point>
			                <position>95</position>
			                <price.amount>87.1</price.amount>
			            </Point>
			            <Point>
			                <position>96</position>
			                <price.amount>83.02</price.amount>
			            </Point>
			        </Period>
			    </TimeSeries>
			    <TimeSeries>
			        <mRID>3</mRID>
			        <auction.type>A01</auction.type>
			        <businessType>A62</businessType>
			        <in_Domain.mRID codingScheme="A01">10Y1001A1001A82H</in_Domain.mRID>
			        <out_Domain.mRID codingScheme="A01">10Y1001A1001A82H</out_Domain.mRID>
			        <contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
			        <currency_Unit.name>EUR</currency_Unit.name>
			        <price_Measure_Unit.name>MWH</price_Measure_Unit.name>
			        <classificationSequence_AttributeInstanceComponent.position>1</classificationSequence_AttributeInstanceComponent.position>
			        <curveType>A03</curveType>
			        <Period>
			            <timeInterval>
			                <start>2025-10-15T22:00Z</start>
			                <end>2025-10-16T22:00Z</end>
			            </timeInterval>
			            <resolution>PT15M</resolution>
			            <Point>
			                <position>1</position>
			                <price.amount>90.22</price.amount>
			            </Point>
			            <Point>
			                <position>2</position>
			                <price.amount>91.63</price.amount>
			            </Point>
			            <Point>
			                <position>3</position>
			                <price.amount>88.93</price.amount>
			            </Point>
			            <Point>
			                <position>4</position>
			                <price.amount>81.88</price.amount>
			            </Point>
			            <Point>
			                <position>5</position>
			                <price.amount>90.67</price.amount>
			            </Point>
			            <Point>
			                <position>6</position>
			                <price.amount>87.14</price.amount>
			            </Point>
			            <Point>
			                <position>7</position>
			                <price.amount>85.09</price.amount>
			            </Point>
			            <Point>
			                <position>8</position>
			                <price.amount>80.33</price.amount>
			            </Point>
			            <Point>
			                <position>9</position>
			                <price.amount>90.41</price.amount>
			            </Point>
			            <Point>
			                <position>10</position>
			                <price.amount>88.7</price.amount>
			            </Point>
			            <Point>
			                <position>11</position>
			                <price.amount>87.91</price.amount>
			            </Point>
			            <Point>
			                <position>12</position>
			                <price.amount>84.98</price.amount>
			            </Point>
			            <Point>
			                <position>13</position>
			                <price.amount>90.01</price.amount>
			            </Point>
			            <Point>
			                <position>14</position>
			                <price.amount>88.69</price.amount>
			            </Point>
			            <Point>
			                <position>16</position>
			                <price.amount>79.23</price.amount>
			            </Point>
			            <Point>
			                <position>17</position>
			                <price.amount>86.13</price.amount>
			            </Point>
			            <Point>
			                <position>18</position>
			                <price.amount>88.05</price.amount>
			            </Point>
			            <Point>
			                <position>19</position>
			                <price.amount>88.49</price.amount>
			            </Point>
			            <Point>
			                <position>20</position>
			                <price.amount>90.67</price.amount>
			            </Point>
			            <Point>
			                <position>21</position>
			                <price.amount>80.24</price.amount>
			            </Point>
			            <Point>
			                <position>22</position>
			                <price.amount>81.25</price.amount>
			            </Point>
			            <Point>
			                <position>23</position>
			                <price.amount>85.1</price.amount>
			            </Point>
			            <Point>
			                <position>24</position>
			                <price.amount>93.59</price.amount>
			            </Point>
			            <Point>
			                <position>25</position>
			                <price.amount>79.19</price.amount>
			            </Point>
			            <Point>
			                <position>26</position>
			                <price.amount>89.99</price.amount>
			            </Point>
			            <Point>
			                <position>27</position>
			                <price.amount>98.27</price.amount>
			            </Point>
			            <Point>
			                <position>28</position>
			                <price.amount>117.32</price.amount>
			            </Point>
			            <Point>
			                <position>29</position>
			                <price.amount>101.88</price.amount>
			            </Point>
			            <Point>
			                <position>30</position>
			                <price.amount>116.05</price.amount>
			            </Point>
			            <Point>
			                <position>31</position>
			                <price.amount>121.06</price.amount>
			            </Point>
			            <Point>
			                <position>32</position>
			                <price.amount>125.5</price.amount>
			            </Point>
			            <Point>
			                <position>33</position>
			                <price.amount>148.39</price.amount>
			            </Point>
			            <Point>
			                <position>34</position>
			                <price.amount>146.12</price.amount>
			            </Point>
			            <Point>
			                <position>35</position>
			                <price.amount>132.74</price.amount>
			            </Point>
			            <Point>
			                <position>36</position>
			                <price.amount>103.82</price.amount>
			            </Point>
			            <Point>
			                <position>37</position>
			                <price.amount>147.5</price.amount>
			            </Point>
			            <Point>
			                <position>38</position>
			                <price.amount>132.71</price.amount>
			            </Point>
			            <Point>
			                <position>39</position>
			                <price.amount>106.38</price.amount>
			            </Point>
			            <Point>
			                <position>40</position>
			                <price.amount>93.13</price.amount>
			            </Point>
			            <Point>
			                <position>41</position>
			                <price.amount>118</price.amount>
			            </Point>
			            <Point>
			                <position>42</position>
			                <price.amount>93.73</price.amount>
			            </Point>
			            <Point>
			                <position>43</position>
			                <price.amount>81.21</price.amount>
			            </Point>
			            <Point>
			                <position>44</position>
			                <price.amount>76.01</price.amount>
			            </Point>
			            <Point>
			                <position>45</position>
			                <price.amount>102.38</price.amount>
			            </Point>
			            <Point>
			                <position>46</position>
			                <price.amount>86.71</price.amount>
			            </Point>
			            <Point>
			                <position>47</position>
			                <price.amount>85.48</price.amount>
			            </Point>
			            <Point>
			                <position>48</position>
			                <price.amount>78.66</price.amount>
			            </Point>
			            <Point>
			                <position>49</position>
			                <price.amount>89.01</price.amount>
			            </Point>
			            <Point>
			                <position>50</position>
			                <price.amount>82.76</price.amount>
			            </Point>
			            <Point>
			                <position>51</position>
			                <price.amount>83.44</price.amount>
			            </Point>
			            <Point>
			                <position>52</position>
			                <price.amount>78.4</price.amount>
			            </Point>
			            <Point>
			                <position>53</position>
			                <price.amount>84.28</price.amount>
			            </Point>
			            <Point>
			                <position>54</position>
			                <price.amount>82.54</price.amount>
			            </Point>
			            <Point>
			                <position>55</position>
			                <price.amount>80.68</price.amount>
			            </Point>
			            <Point>
			                <position>56</position>
			                <price.amount>78.4</price.amount>
			            </Point>
			            <Point>
			                <position>57</position>
			                <price.amount>76.96</price.amount>
			            </Point>
			            <Point>
			                <position>58</position>
			                <price.amount>79.25</price.amount>
			            </Point>
			            <Point>
			                <position>59</position>
			                <price.amount>81.56</price.amount>
			            </Point>
			            <Point>
			                <position>60</position>
			                <price.amount>94.15</price.amount>
			            </Point>
			            <Point>
			                <position>61</position>
			                <price.amount>72.1</price.amount>
			            </Point>
			            <Point>
			                <position>62</position>
			                <price.amount>82.42</price.amount>
			            </Point>
			            <Point>
			                <position>63</position>
			                <price.amount>85.09</price.amount>
			            </Point>
			            <Point>
			                <position>64</position>
			                <price.amount>92.5</price.amount>
			            </Point>
			            <Point>
			                <position>65</position>
			                <price.amount>68.12</price.amount>
			            </Point>
			            <Point>
			                <position>66</position>
			                <price.amount>79.48</price.amount>
			            </Point>
			            <Point>
			                <position>67</position>
			                <price.amount>92.41</price.amount>
			            </Point>
			            <Point>
			                <position>68</position>
			                <price.amount>116.1</price.amount>
			            </Point>
			            <Point>
			                <position>69</position>
			                <price.amount>78.4</price.amount>
			            </Point>
			            <Point>
			                <position>70</position>
			                <price.amount>116.06</price.amount>
			            </Point>
			            <Point>
			                <position>71</position>
			                <price.amount>132.51</price.amount>
			            </Point>
			            <Point>
			                <position>72</position>
			                <price.amount>156.69</price.amount>
			            </Point>
			            <Point>
			                <position>73</position>
			                <price.amount>109.6</price.amount>
			            </Point>
			            <Point>
			                <position>74</position>
			                <price.amount>128.7</price.amount>
			            </Point>
			            <Point>
			                <position>75</position>
			                <price.amount>135.91</price.amount>
			            </Point>
			            <Point>
			                <position>76</position>
			                <price.amount>145.79</price.amount>
			            </Point>
			            <Point>
			                <position>77</position>
			                <price.amount>137.23</price.amount>
			            </Point>
			            <Point>
			                <position>78</position>
			                <price.amount>144.29</price.amount>
			            </Point>
			            <Point>
			                <position>79</position>
			                <price.amount>144.65</price.amount>
			            </Point>
			            <Point>
			                <position>80</position>
			                <price.amount>136.19</price.amount>
			            </Point>
			            <Point>
			                <position>81</position>
			                <price.amount>145.04</price.amount>
			            </Point>
			            <Point>
			                <position>82</position>
			                <price.amount>123.38</price.amount>
			            </Point>
			            <Point>
			                <position>83</position>
			                <price.amount>128</price.amount>
			            </Point>
			            <Point>
			                <position>84</position>
			                <price.amount>105.96</price.amount>
			            </Point>
			            <Point>
			                <position>85</position>
			                <price.amount>124.53</price.amount>
			            </Point>
			            <Point>
			                <position>86</position>
			                <price.amount>106.18</price.amount>
			            </Point>
			            <Point>
			                <position>87</position>
			                <price.amount>90.47</price.amount>
			            </Point>
			            <Point>
			                <position>88</position>
			                <price.amount>87.75</price.amount>
			            </Point>
			            <Point>
			                <position>89</position>
			                <price.amount>96.5</price.amount>
			            </Point>
			            <Point>
			                <position>90</position>
			                <price.amount>100.23</price.amount>
			            </Point>
			            <Point>
			                <position>91</position>
			                <price.amount>105.99</price.amount>
			            </Point>
			            <Point>
			                <position>92</position>
			                <price.amount>96.7</price.amount>
			            </Point>
			            <Point>
			                <position>93</position>
			                <price.amount>100.87</price.amount>
			            </Point>
			            <Point>
			                <position>94</position>
			                <price.amount>95.47</price.amount>
			            </Point>
			            <Point>
			                <position>95</position>
			                <price.amount>93.2</price.amount>
			            </Point>
			            <Point>
			                <position>96</position>
			                <price.amount>83.91</price.amount>
			            </Point>
			        </Period>
			    </TimeSeries>
			    <TimeSeries>
			        <mRID>4</mRID>
			        <auction.type>A01</auction.type>
			        <businessType>A62</businessType>
			        <in_Domain.mRID codingScheme="A01">10Y1001A1001A82H</in_Domain.mRID>
			        <out_Domain.mRID codingScheme="A01">10Y1001A1001A82H</out_Domain.mRID>
			        <contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
			        <currency_Unit.name>EUR</currency_Unit.name>
			        <price_Measure_Unit.name>MWH</price_Measure_Unit.name>
			        <classificationSequence_AttributeInstanceComponent.position>2</classificationSequence_AttributeInstanceComponent.position>
			        <curveType>A03</curveType>
			        <Period>
			            <timeInterval>
			                <start>2025-10-15T22:00Z</start>
			                <end>2025-10-16T22:00Z</end>
			            </timeInterval>
			            <resolution>PT15M</resolution>
			            <Point>
			                <position>1</position>
			                <price.amount>103</price.amount>
			            </Point>
			            <Point>
			                <position>2</position>
			                <price.amount>87.59</price.amount>
			            </Point>
			            <Point>
			                <position>3</position>
			                <price.amount>90.43</price.amount>
			            </Point>
			            <Point>
			                <position>4</position>
			                <price.amount>80.1</price.amount>
			            </Point>
			            <Point>
			                <position>5</position>
			                <price.amount>95.23</price.amount>
			            </Point>
			            <Point>
			                <position>6</position>
			                <price.amount>80.1</price.amount>
			            </Point>
			            <Point>
			                <position>7</position>
			                <price.amount>85.4</price.amount>
			            </Point>
			            <Point>
			                <position>8</position>
			                <price.amount>79.4</price.amount>
			            </Point>
			            <Point>
			                <position>9</position>
			                <price.amount>92.3</price.amount>
			            </Point>
			            <Point>
			                <position>10</position>
			                <price.amount>81.03</price.amount>
			            </Point>
			            <Point>
			                <position>11</position>
			                <price.amount>81.4</price.amount>
			            </Point>
			            <Point>
			                <position>12</position>
			                <price.amount>77.4</price.amount>
			            </Point>
			            <Point>
			                <position>13</position>
			                <price.amount>85.2</price.amount>
			            </Point>
			            <Point>
			                <position>14</position>
			                <price.amount>82.5</price.amount>
			            </Point>
			            <Point>
			                <position>15</position>
			                <price.amount>79.57</price.amount>
			            </Point>
			            <Point>
			                <position>16</position>
			                <price.amount>81.7</price.amount>
			            </Point>
			            <Point>
			                <position>17</position>
			                <price.amount>77.63</price.amount>
			            </Point>
			            <Point>
			                <position>18</position>
			                <price.amount>83.2</price.amount>
			            </Point>
			            <Point>
			                <position>19</position>
			                <price.amount>87.2</price.amount>
			            </Point>
			            <Point>
			                <position>20</position>
			                <price.amount>90.6</price.amount>
			            </Point>
			            <Point>
			                <position>21</position>
			                <price.amount>85.3</price.amount>
			            </Point>
			            <Point>
			                <position>22</position>
			                <price.amount>82.73</price.amount>
			            </Point>
			            <Point>
			                <position>23</position>
			                <price.amount>90.3</price.amount>
			            </Point>
			            <Point>
			                <position>24</position>
			                <price.amount>101.1</price.amount>
			            </Point>
			            <Point>
			                <position>25</position>
			                <price.amount>83.4</price.amount>
			            </Point>
			            <Point>
			                <position>26</position>
			                <price.amount>95.3</price.amount>
			            </Point>
			            <Point>
			                <position>27</position>
			                <price.amount>124.8</price.amount>
			            </Point>
			            <Point>
			                <position>28</position>
			                <price.amount>136.31</price.amount>
			            </Point>
			            <Point>
			                <position>29</position>
			                <price.amount>98</price.amount>
			            </Point>
			            <Point>
			                <position>30</position>
			                <price.amount>127.85</price.amount>
			            </Point>
			            <Point>
			                <position>31</position>
			                <price.amount>149.91</price.amount>
			            </Point>
			            <Point>
			                <position>32</position>
			                <price.amount>154.91</price.amount>
			            </Point>
			            <Point>
			                <position>33</position>
			                <price.amount>144.05</price.amount>
			            </Point>
			            <Point>
			                <position>34</position>
			                <price.amount>147.9</price.amount>
			            </Point>
			            <Point>
			                <position>35</position>
			                <price.amount>131.2</price.amount>
			            </Point>
			            <Point>
			                <position>36</position>
			                <price.amount>111</price.amount>
			            </Point>
			            <Point>
			                <position>37</position>
			                <price.amount>155</price.amount>
			            </Point>
			            <Point>
			                <position>38</position>
			                <price.amount>129.2</price.amount>
			            </Point>
			            <Point>
			                <position>39</position>
			                <price.amount>112.7</price.amount>
			            </Point>
			            <Point>
			                <position>40</position>
			                <price.amount>94.7</price.amount>
			            </Point>
			            <Point>
			                <position>41</position>
			                <price.amount>132.5</price.amount>
			            </Point>
			            <Point>
			                <position>42</position>
			                <price.amount>108.4</price.amount>
			            </Point>
			            <Point>
			                <position>43</position>
			                <price.amount>96.66</price.amount>
			            </Point>
			            <Point>
			                <position>44</position>
			                <price.amount>89</price.amount>
			            </Point>
			            <Point>
			                <position>45</position>
			                <price.amount>112.5</price.amount>
			            </Point>
			            <Point>
			                <position>46</position>
			                <price.amount>98.59</price.amount>
			            </Point>
			            <Point>
			                <position>47</position>
			                <price.amount>91.7</price.amount>
			            </Point>
			            <Point>
			                <position>48</position>
			                <price.amount>82.4</price.amount>
			            </Point>
			            <Point>
			                <position>49</position>
			                <price.amount>97.5</price.amount>
			            </Point>
			            <Point>
			                <position>50</position>
			                <price.amount>87</price.amount>
			            </Point>
			            <Point>
			                <position>51</position>
			                <price.amount>84.88</price.amount>
			            </Point>
			            <Point>
			                <position>52</position>
			                <price.amount>97.41</price.amount>
			            </Point>
			            <Point>
			                <position>53</position>
			                <price.amount>88.3</price.amount>
			            </Point>
			            <Point>
			                <position>54</position>
			                <price.amount>83.41</price.amount>
			            </Point>
			            <Point>
			                <position>55</position>
			                <price.amount>99.91</price.amount>
			            </Point>
			            <Point>
			                <position>56</position>
			                <price.amount>80.09</price.amount>
			            </Point>
			            <Point>
			                <position>57</position>
			                <price.amount>82.6</price.amount>
			            </Point>
			            <Point>
			                <position>58</position>
			                <price.amount>89.76</price.amount>
			            </Point>
			            <Point>
			                <position>59</position>
			                <price.amount>87.9</price.amount>
			            </Point>
			            <Point>
			                <position>60</position>
			                <price.amount>92.58</price.amount>
			            </Point>
			            <Point>
			                <position>61</position>
			                <price.amount>82</price.amount>
			            </Point>
			            <Point>
			                <position>62</position>
			                <price.amount>90.4</price.amount>
			            </Point>
			            <Point>
			                <position>63</position>
			                <price.amount>101.5</price.amount>
			            </Point>
			            <Point>
			                <position>64</position>
			                <price.amount>112.89</price.amount>
			            </Point>
			            <Point>
			                <position>65</position>
			                <price.amount>84.6</price.amount>
			            </Point>
			            <Point>
			                <position>66</position>
			                <price.amount>103</price.amount>
			            </Point>
			            <Point>
			                <position>67</position>
			                <price.amount>110.1</price.amount>
			            </Point>
			            <Point>
			                <position>68</position>
			                <price.amount>130.05</price.amount>
			            </Point>
			            <Point>
			                <position>69</position>
			                <price.amount>96.57</price.amount>
			            </Point>
			            <Point>
			                <position>70</position>
			                <price.amount>113.8</price.amount>
			            </Point>
			            <Point>
			                <position>71</position>
			                <price.amount>137.57</price.amount>
			            </Point>
			            <Point>
			                <position>72</position>
			                <price.amount>150.06</price.amount>
			            </Point>
			            <Point>
			                <position>73</position>
			                <price.amount>130.8</price.amount>
			            </Point>
			            <Point>
			                <position>74</position>
			                <price.amount>147.6</price.amount>
			            </Point>
			            <Point>
			                <position>75</position>
			                <price.amount>150.01</price.amount>
			            </Point>
			            <Point>
			                <position>76</position>
			                <price.amount>146.09</price.amount>
			            </Point>
			            <Point>
			                <position>77</position>
			                <price.amount>172.5</price.amount>
			            </Point>
			            <Point>
			                <position>78</position>
			                <price.amount>145.05</price.amount>
			            </Point>
			            <Point>
			                <position>79</position>
			                <price.amount>142.55</price.amount>
			            </Point>
			            <Point>
			                <position>80</position>
			                <price.amount>148.16</price.amount>
			            </Point>
			            <Point>
			                <position>81</position>
			                <price.amount>130.09</price.amount>
			            </Point>
			            <Point>
			                <position>82</position>
			                <price.amount>127.29</price.amount>
			            </Point>
			            <Point>
			                <position>83</position>
			                <price.amount>116.8</price.amount>
			            </Point>
			            <Point>
			                <position>84</position>
			                <price.amount>105.02</price.amount>
			            </Point>
			            <Point>
			                <position>85</position>
			                <price.amount>117.56</price.amount>
			            </Point>
			            <Point>
			                <position>86</position>
			                <price.amount>107.6</price.amount>
			            </Point>
			            <Point>
			                <position>87</position>
			                <price.amount>98.34</price.amount>
			            </Point>
			            <Point>
			                <position>88</position>
			                <price.amount>92.5</price.amount>
			            </Point>
			            <Point>
			                <position>89</position>
			                <price.amount>105.08</price.amount>
			            </Point>
			            <Point>
			                <position>90</position>
			                <price.amount>98.6</price.amount>
			            </Point>
			            <Point>
			                <position>91</position>
			                <price.amount>87.6</price.amount>
			            </Point>
			            <Point>
			                <position>92</position>
			                <price.amount>84.73</price.amount>
			            </Point>
			            <Point>
			                <position>93</position>
			                <price.amount>102.5</price.amount>
			            </Point>
			            <Point>
			                <position>94</position>
			                <price.amount>91.4</price.amount>
			            </Point>
			            <Point>
			                <position>95</position>
			                <price.amount>85</price.amount>
			            </Point>
			            <Point>
			                <position>96</position>
			                <price.amount>75.65</price.amount>
			            </Point>
			        </Period>
			    </TimeSeries>
			</Publication_MarketDocument>
			""";

	private static final String XML_WITH_PARTIAL_SEQUENCE_1_AND_FULL_SEQUENCE_2 = """
			<?xml version="1.0" encoding="utf-8"?>
			<Publication_MarketDocument xmlns="urn:iec62325.351:tc57wg16:451-3:publicationdocument:7:3">
			    <mRID>02e1f1d45611462e98571d248d439474</mRID>
			    <revisionNumber>1</revisionNumber>
			    <type>A44</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>2025-10-16T07:45:08Z</createdDateTime>
			    <period.timeInterval>
			        <start>2025-10-14T22:00Z</start>
			        <end>2025-10-16T22:00Z</end>
			    </period.timeInterval>
			    <TimeSeries>
			        <mRID>1</mRID>
			        <auction.type>A01</auction.type>
			        <businessType>A62</businessType>
			        <in_Domain.mRID codingScheme="A01">10Y1001A1001A82H</in_Domain.mRID>
			        <out_Domain.mRID codingScheme="A01">10Y1001A1001A82H</out_Domain.mRID>
			        <contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
			        <currency_Unit.name>EUR</currency_Unit.name>
			        <price_Measure_Unit.name>MWH</price_Measure_Unit.name>
			        <classificationSequence_AttributeInstanceComponent.position>2</classificationSequence_AttributeInstanceComponent.position>
			        <curveType>A03</curveType>
			        <Period>
			            <timeInterval>
			                <start>2025-10-14T22:00Z</start>
			                <end>2025-10-15T22:00Z</end>
			            </timeInterval>
			            <resolution>PT15M</resolution>
			            <Point>
			                <position>1</position>
			                <price.amount>117.2</price.amount>
			            </Point>
			            <Point>
			                <position>2</position>
			                <price.amount>111.2</price.amount>
			            </Point>
			            <Point>
			                <position>3</position>
			                <price.amount>105.5</price.amount>
			            </Point>
			            <Point>
			                <position>4</position>
			                <price.amount>105.3</price.amount>
			            </Point>
			            <Point>
			                <position>5</position>
			                <price.amount>109.6</price.amount>
			            </Point>
			            <Point>
			                <position>6</position>
			                <price.amount>105.5</price.amount>
			            </Point>
			            <Point>
			                <position>7</position>
			                <price.amount>98.8</price.amount>
			            </Point>
			            <Point>
			                <position>8</position>
			                <price.amount>94.09</price.amount>
			            </Point>
			            <Point>
			                <position>9</position>
			                <price.amount>106.3</price.amount>
			            </Point>
			            <Point>
			                <position>10</position>
			                <price.amount>101.5</price.amount>
			            </Point>
			            <Point>
			                <position>11</position>
			                <price.amount>100.89</price.amount>
			            </Point>
			            <Point>
			                <position>13</position>
			                <price.amount>102.92</price.amount>
			            </Point>
			            <Point>
			                <position>15</position>
			                <price.amount>98.2</price.amount>
			            </Point>
			            <Point>
			                <position>17</position>
			                <price.amount>107.5</price.amount>
			            </Point>
			            <Point>
			                <position>18</position>
			                <price.amount>99.25</price.amount>
			            </Point>
			            <Point>
			                <position>19</position>
			                <price.amount>101.2</price.amount>
			            </Point>
			            <Point>
			                <position>20</position>
			                <price.amount>105.09</price.amount>
			            </Point>
			            <Point>
			                <position>21</position>
			                <price.amount>97.07</price.amount>
			            </Point>
			            <Point>
			                <position>22</position>
			                <price.amount>102.59</price.amount>
			            </Point>
			            <Point>
			                <position>23</position>
			                <price.amount>112.58</price.amount>
			            </Point>
			            <Point>
			                <position>24</position>
			                <price.amount>122.55</price.amount>
			            </Point>
			            <Point>
			                <position>25</position>
			                <price.amount>131.9</price.amount>
			            </Point>
			            <Point>
			                <position>26</position>
			                <price.amount>138.4</price.amount>
			            </Point>
			            <Point>
			                <position>27</position>
			                <price.amount>145.07</price.amount>
			            </Point>
			            <Point>
			                <position>28</position>
			                <price.amount>160.07</price.amount>
			            </Point>
			            <Point>
			                <position>29</position>
			                <price.amount>286.34</price.amount>
			            </Point>
			            <Point>
			                <position>30</position>
			                <price.amount>257.09</price.amount>
			            </Point>
			            <Point>
			                <position>31</position>
			                <price.amount>286.34</price.amount>
			            </Point>
			            <Point>
			                <position>32</position>
			                <price.amount>280</price.amount>
			            </Point>
			            <Point>
			                <position>33</position>
			                <price.amount>251.9</price.amount>
			            </Point>
			            <Point>
			                <position>34</position>
			                <price.amount>234</price.amount>
			            </Point>
			            <Point>
			                <position>35</position>
			                <price.amount>241.11</price.amount>
			            </Point>
			            <Point>
			                <position>36</position>
			                <price.amount>255.47</price.amount>
			            </Point>
			            <Point>
			                <position>37</position>
			                <price.amount>201.26</price.amount>
			            </Point>
			            <Point>
			                <position>38</position>
			                <price.amount>186.4</price.amount>
			            </Point>
			            <Point>
			                <position>39</position>
			                <price.amount>173.7</price.amount>
			            </Point>
			            <Point>
			                <position>40</position>
			                <price.amount>156.8</price.amount>
			            </Point>
			            <Point>
			                <position>41</position>
			                <price.amount>167.44</price.amount>
			            </Point>
			            <Point>
			                <position>42</position>
			                <price.amount>147.48</price.amount>
			            </Point>
			            <Point>
			                <position>43</position>
			                <price.amount>134.79</price.amount>
			            </Point>
			            <Point>
			                <position>44</position>
			                <price.amount>118.3</price.amount>
			            </Point>
			            <Point>
			                <position>45</position>
			                <price.amount>141.7</price.amount>
			            </Point>
			            <Point>
			                <position>46</position>
			                <price.amount>129.5</price.amount>
			            </Point>
			            <Point>
			                <position>47</position>
			                <price.amount>117.9</price.amount>
			            </Point>
			            <Point>
			                <position>48</position>
			                <price.amount>107.7</price.amount>
			            </Point>
			            <Point>
			                <position>49</position>
			                <price.amount>120.9</price.amount>
			            </Point>
			            <Point>
			                <position>50</position>
			                <price.amount>108.4</price.amount>
			            </Point>
			            <Point>
			                <position>51</position>
			                <price.amount>104.15</price.amount>
			            </Point>
			            <Point>
			                <position>52</position>
			                <price.amount>93.2</price.amount>
			            </Point>
			            <Point>
			                <position>53</position>
			                <price.amount>113.1</price.amount>
			            </Point>
			            <Point>
			                <position>54</position>
			                <price.amount>104</price.amount>
			            </Point>
			            <Point>
			                <position>55</position>
			                <price.amount>100.9</price.amount>
			            </Point>
			            <Point>
			                <position>56</position>
			                <price.amount>95.99</price.amount>
			            </Point>
			            <Point>
			                <position>57</position>
			                <price.amount>103.9</price.amount>
			            </Point>
			            <Point>
			                <position>58</position>
			                <price.amount>105.1</price.amount>
			            </Point>
			            <Point>
			                <position>59</position>
			                <price.amount>106</price.amount>
			            </Point>
			            <Point>
			                <position>60</position>
			                <price.amount>107.76</price.amount>
			            </Point>
			            <Point>
			                <position>61</position>
			                <price.amount>107.4</price.amount>
			            </Point>
			            <Point>
			                <position>62</position>
			                <price.amount>108.9</price.amount>
			            </Point>
			            <Point>
			                <position>63</position>
			                <price.amount>116.6</price.amount>
			            </Point>
			            <Point>
			                <position>64</position>
			                <price.amount>128.2</price.amount>
			            </Point>
			            <Point>
			                <position>65</position>
			                <price.amount>102.47</price.amount>
			            </Point>
			            <Point>
			                <position>66</position>
			                <price.amount>118.7</price.amount>
			            </Point>
			            <Point>
			                <position>67</position>
			                <price.amount>131.85</price.amount>
			            </Point>
			            <Point>
			                <position>68</position>
			                <price.amount>142.58</price.amount>
			            </Point>
			            <Point>
			                <position>69</position>
			                <price.amount>140.8</price.amount>
			            </Point>
			            <Point>
			                <position>70</position>
			                <price.amount>168.5</price.amount>
			            </Point>
			            <Point>
			                <position>71</position>
			                <price.amount>170.29</price.amount>
			            </Point>
			            <Point>
			                <position>72</position>
			                <price.amount>187.48</price.amount>
			            </Point>
			            <Point>
			                <position>73</position>
			                <price.amount>231.4</price.amount>
			            </Point>
			            <Point>
			                <position>74</position>
			                <price.amount>245.2</price.amount>
			            </Point>
			            <Point>
			                <position>75</position>
			                <price.amount>241.41</price.amount>
			            </Point>
			            <Point>
			                <position>76</position>
			                <price.amount>239.12</price.amount>
			            </Point>
			            <Point>
			                <position>77</position>
			                <price.amount>289.92</price.amount>
			            </Point>
			            <Point>
			                <position>78</position>
			                <price.amount>230.78</price.amount>
			            </Point>
			            <Point>
			                <position>79</position>
			                <price.amount>212.72</price.amount>
			            </Point>
			            <Point>
			                <position>80</position>
			                <price.amount>187.07</price.amount>
			            </Point>
			            <Point>
			                <position>81</position>
			                <price.amount>226.06</price.amount>
			            </Point>
			            <Point>
			                <position>82</position>
			                <price.amount>172.5</price.amount>
			            </Point>
			            <Point>
			                <position>83</position>
			                <price.amount>154.96</price.amount>
			            </Point>
			            <Point>
			                <position>84</position>
			                <price.amount>133.9</price.amount>
			            </Point>
			            <Point>
			                <position>85</position>
			                <price.amount>154.2</price.amount>
			            </Point>
			            <Point>
			                <position>86</position>
			                <price.amount>139.6</price.amount>
			            </Point>
			            <Point>
			                <position>87</position>
			                <price.amount>129.9</price.amount>
			            </Point>
			            <Point>
			                <position>88</position>
			                <price.amount>116.9</price.amount>
			            </Point>
			            <Point>
			                <position>89</position>
			                <price.amount>133.8</price.amount>
			            </Point>
			            <Point>
			                <position>90</position>
			                <price.amount>116.85</price.amount>
			            </Point>
			            <Point>
			                <position>91</position>
			                <price.amount>115</price.amount>
			            </Point>
			            <Point>
			                <position>92</position>
			                <price.amount>104.3</price.amount>
			            </Point>
			            <Point>
			                <position>93</position>
			                <price.amount>115.7</price.amount>
			            </Point>
			            <Point>
			                <position>94</position>
			                <price.amount>112.48</price.amount>
			            </Point>
			            <Point>
			                <position>95</position>
			                <price.amount>103.6</price.amount>
			            </Point>
			            <Point>
			                <position>96</position>
			                <price.amount>92</price.amount>
			            </Point>
			        </Period>
			    </TimeSeries>
			    <TimeSeries>
			        <mRID>2</mRID>
			        <auction.type>A01</auction.type>
			        <businessType>A62</businessType>
			        <in_Domain.mRID codingScheme="A01">10Y1001A1001A82H</in_Domain.mRID>
			        <out_Domain.mRID codingScheme="A01">10Y1001A1001A82H</out_Domain.mRID>
			        <contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
			        <currency_Unit.name>EUR</currency_Unit.name>
			        <price_Measure_Unit.name>MWH</price_Measure_Unit.name>
			        <classificationSequence_AttributeInstanceComponent.position>1</classificationSequence_AttributeInstanceComponent.position>
			        <curveType>A03</curveType>
			        <Period>
			            <timeInterval>
			                <start>2025-10-14T22:00Z</start>
			                <end>2025-10-15T22:00Z</end>
			            </timeInterval>
			            <resolution>PT15M</resolution>
			            <Point>
			                <position>1</position>
			                <price.amount>120.26</price.amount>
			            </Point>
			            <Point>
			                <position>2</position>
			                <price.amount>116.09</price.amount>
			            </Point>
			            <Point>
			                <position>3</position>
			                <price.amount>113.53</price.amount>
			            </Point>
			            <Point>
			                <position>4</position>
			                <price.amount>111.97</price.amount>
			            </Point>
			            <Point>
			                <position>5</position>
			                <price.amount>117.16</price.amount>
			            </Point>
			            <Point>
			                <position>6</position>
			                <price.amount>112.45</price.amount>
			            </Point>
			            <Point>
			                <position>7</position>
			                <price.amount>110.16</price.amount>
			            </Point>
			            <Point>
			                <position>8</position>
			                <price.amount>107.69</price.amount>
			            </Point>
			            <Point>
			                <position>9</position>
			                <price.amount>110.15</price.amount>
			            </Point>
			            <Point>
			                <position>10</position>
			                <price.amount>108.38</price.amount>
			            </Point>
			            <Point>
			                <position>11</position>
			                <price.amount>106.29</price.amount>
			            </Point>
			            <Point>
			                <position>12</position>
			                <price.amount>105.9</price.amount>
			            </Point>
			            <Point>
			                <position>13</position>
			                <price.amount>105.98</price.amount>
			            </Point>
			            <Point>
			                <position>14</position>
			                <price.amount>104.94</price.amount>
			            </Point>
			            <Point>
			                <position>15</position>
			                <price.amount>101.43</price.amount>
			            </Point>
			            <Point>
			                <position>16</position>
			                <price.amount>102.12</price.amount>
			            </Point>
			            <Point>
			                <position>17</position>
			                <price.amount>102.06</price.amount>
			            </Point>
			            <Point>
			                <position>18</position>
			                <price.amount>104.76</price.amount>
			            </Point>
			            <Point>
			                <position>19</position>
			                <price.amount>107.21</price.amount>
			            </Point>
			            <Point>
			                <position>20</position>
			                <price.amount>111.89</price.amount>
			            </Point>
			            <Point>
			                <position>21</position>
			                <price.amount>108.85</price.amount>
			            </Point>
			            <Point>
			                <position>22</position>
			                <price.amount>112.74</price.amount>
			            </Point>
			            <Point>
			                <position>23</position>
			                <price.amount>116.6</price.amount>
			            </Point>
			            <Point>
			                <position>24</position>
			                <price.amount>119.4</price.amount>
			            </Point>
			            <Point>
			                <position>25</position>
			                <price.amount>117.12</price.amount>
			            </Point>
			            <Point>
			                <position>26</position>
			                <price.amount>131.33</price.amount>
			            </Point>
			            <Point>
			                <position>27</position>
			                <price.amount>164.35</price.amount>
			            </Point>
			            <Point>
			                <position>28</position>
			                <price.amount>195.04</price.amount>
			            </Point>
			            <Point>
			                <position>29</position>
			                <price.amount>211.75</price.amount>
			            </Point>
			            <Point>
			                <position>30</position>
			                <price.amount>270.1</price.amount>
			            </Point>
			            <Point>
			                <position>31</position>
			                <price.amount>319.58</price.amount>
			            </Point>
			            <Point>
			                <position>32</position>
			                <price.amount>313.53</price.amount>
			            </Point>
			            <Point>
			                <position>33</position>
			                <price.amount>354.61</price.amount>
			            </Point>
			            <Point>
			                <position>34</position>
			                <price.amount>304.77</price.amount>
			            </Point>
			            <Point>
			                <position>35</position>
			                <price.amount>247.13</price.amount>
			            </Point>
			            <Point>
			                <position>36</position>
			                <price.amount>198.28</price.amount>
			            </Point>
			            <Point>
			                <position>37</position>
			                <price.amount>252.11</price.amount>
			            </Point>
			            <Point>
			                <position>38</position>
			                <price.amount>197.67</price.amount>
			            </Point>
			            <Point>
			                <position>39</position>
			                <price.amount>143.43</price.amount>
			            </Point>
			            <Point>
			                <position>40</position>
			                <price.amount>131</price.amount>
			            </Point>
			            <Point>
			                <position>41</position>
			                <price.amount>184.44</price.amount>
			            </Point>
			            <Point>
			                <position>42</position>
			                <price.amount>141.01</price.amount>
			            </Point>
			            <Point>
			                <position>43</position>
			                <price.amount>131.88</price.amount>
			            </Point>
			            <Point>
			                <position>44</position>
			                <price.amount>112.1</price.amount>
			            </Point>
			            <Point>
			                <position>45</position>
			                <price.amount>145.77</price.amount>
			            </Point>
			            <Point>
			                <position>46</position>
			                <price.amount>130.42</price.amount>
			            </Point>
			            <Point>
			                <position>47</position>
			                <price.amount>117.22</price.amount>
			            </Point>
			            <Point>
			                <position>48</position>
			                <price.amount>111.01</price.amount>
			            </Point>
			            <Point>
			                <position>49</position>
			                <price.amount>127.91</price.amount>
			            </Point>
			            <Point>
			                <position>50</position>
			                <price.amount>124.04</price.amount>
			            </Point>
			            <Point>
			                <position>51</position>
			                <price.amount>115.92</price.amount>
			            </Point>
			            <Point>
			                <position>52</position>
			                <price.amount>109.83</price.amount>
			            </Point>
			            <Point>
			                <position>53</position>
			                <price.amount>118.01</price.amount>
			            </Point>
			            <Point>
			                <position>54</position>
			                <price.amount>115.82</price.amount>
			            </Point>
			            <Point>
			                <position>55</position>
			                <price.amount>111</price.amount>
			            </Point>
			            <Point>
			                <position>56</position>
			                <price.amount>106.68</price.amount>
			            </Point>
			            <Point>
			                <position>57</position>
			                <price.amount>107.51</price.amount>
			            </Point>
			            <Point>
			                <position>58</position>
			                <price.amount>109.68</price.amount>
			            </Point>
			            <Point>
			                <position>59</position>
			                <price.amount>116.98</price.amount>
			            </Point>
			            <Point>
			                <position>60</position>
			                <price.amount>127.4</price.amount>
			            </Point>
			            <Point>
			                <position>61</position>
			                <price.amount>103.7</price.amount>
			            </Point>
			            <Point>
			                <position>62</position>
			                <price.amount>107.64</price.amount>
			            </Point>
			            <Point>
			                <position>63</position>
			                <price.amount>124.93</price.amount>
			            </Point>
			            <Point>
			                <position>64</position>
			                <price.amount>154.3</price.amount>
			            </Point>
			            <Point>
			                <position>65</position>
			                <price.amount>101.51</price.amount>
			            </Point>
			            <Point>
			                <position>66</position>
			                <price.amount>118.71</price.amount>
			            </Point>
			            <Point>
			                <position>67</position>
			                <price.amount>147.98</price.amount>
			            </Point>
			            <Point>
			                <position>68</position>
			                <price.amount>174.57</price.amount>
			            </Point>
			            <Point>
			                <position>69</position>
			                <price.amount>105.02</price.amount>
			            </Point>
			            <Point>
			                <position>70</position>
			                <price.amount>130.3</price.amount>
			            </Point>
			            <Point>
			                <position>71</position>
			                <price.amount>183.17</price.amount>
			            </Point>
			            <Point>
			                <position>72</position>
			                <price.amount>261.51</price.amount>
			            </Point>
			            <Point>
			                <position>73</position>
			                <price.amount>156.76</price.amount>
			            </Point>
			            <Point>
			                <position>74</position>
			                <price.amount>189.62</price.amount>
			            </Point>
			            <Point>
			                <position>75</position>
			                <price.amount>246.84</price.amount>
			            </Point>
			            <Point>
			                <position>76</position>
			                <price.amount>294.29</price.amount>
			            </Point>
			            <Point>
			                <position>77</position>
			                <price.amount>293.57</price.amount>
			            </Point>
			            <Point>
			                <position>78</position>
			                <price.amount>242.91</price.amount>
			            </Point>
			            <Point>
			                <position>79</position>
			                <price.amount>182.93</price.amount>
			            </Point>
			            <Point>
			                <position>80</position>
			                <price.amount>160.59</price.amount>
			            </Point>
			            <Point>
			                <position>81</position>
			                <price.amount>213.51</price.amount>
			            </Point>
			            <Point>
			                <position>82</position>
			                <price.amount>158.01</price.amount>
			            </Point>
			            <Point>
			                <position>83</position>
			                <price.amount>124.95</price.amount>
			            </Point>
			            <Point>
			                <position>84</position>
			                <price.amount>114.91</price.amount>
			            </Point>
			            <Point>
			                <position>85</position>
			                <price.amount>153.28</price.amount>
			            </Point>
			            <Point>
			                <position>86</position>
			                <price.amount>131.41</price.amount>
			            </Point>
			            <Point>
			                <position>87</position>
			                <price.amount>118.17</price.amount>
			            </Point>
			            <Point>
			                <position>88</position>
			                <price.amount>94.51</price.amount>
			            </Point>
			            <Point>
			                <position>89</position>
			                <price.amount>114.72</price.amount>
			            </Point>
			            <Point>
			                <position>90</position>
			                <price.amount>101.31</price.amount>
			            </Point>
			            <Point>
			                <position>91</position>
			                <price.amount>95.35</price.amount>
			            </Point>
			            <Point>
			                <position>92</position>
			                <price.amount>81.46</price.amount>
			            </Point>
			            <Point>
			                <position>93</position>
			                <price.amount>95.39</price.amount>
			            </Point>
			            <Point>
			                <position>94</position>
			                <price.amount>87.17</price.amount>
			            </Point>
			            <Point>
			                <position>95</position>
			                <price.amount>87.1</price.amount>
			            </Point>
			            <Point>
			                <position>96</position>
			                <price.amount>83.02</price.amount>
			            </Point>
			        </Period>
			    </TimeSeries>
			    <TimeSeries>
			        <mRID>4</mRID>
			        <auction.type>A01</auction.type>
			        <businessType>A62</businessType>
			        <in_Domain.mRID codingScheme="A01">10Y1001A1001A82H</in_Domain.mRID>
			        <out_Domain.mRID codingScheme="A01">10Y1001A1001A82H</out_Domain.mRID>
			        <contract_MarketAgreement.type>A01</contract_MarketAgreement.type>
			        <currency_Unit.name>EUR</currency_Unit.name>
			        <price_Measure_Unit.name>MWH</price_Measure_Unit.name>
			        <classificationSequence_AttributeInstanceComponent.position>2</classificationSequence_AttributeInstanceComponent.position>
			        <curveType>A03</curveType>
			        <Period>
			            <timeInterval>
			                <start>2025-10-15T22:00Z</start>
			                <end>2025-10-16T22:00Z</end>
			            </timeInterval>
			            <resolution>PT15M</resolution>
			            <Point>
			                <position>1</position>
			                <price.amount>103</price.amount>
			            </Point>
			            <Point>
			                <position>2</position>
			                <price.amount>87.59</price.amount>
			            </Point>
			            <Point>
			                <position>3</position>
			                <price.amount>90.43</price.amount>
			            </Point>
			            <Point>
			                <position>4</position>
			                <price.amount>80.1</price.amount>
			            </Point>
			            <Point>
			                <position>5</position>
			                <price.amount>95.23</price.amount>
			            </Point>
			            <Point>
			                <position>6</position>
			                <price.amount>80.1</price.amount>
			            </Point>
			            <Point>
			                <position>7</position>
			                <price.amount>85.4</price.amount>
			            </Point>
			            <Point>
			                <position>8</position>
			                <price.amount>79.4</price.amount>
			            </Point>
			            <Point>
			                <position>9</position>
			                <price.amount>92.3</price.amount>
			            </Point>
			            <Point>
			                <position>10</position>
			                <price.amount>81.03</price.amount>
			            </Point>
			            <Point>
			                <position>11</position>
			                <price.amount>81.4</price.amount>
			            </Point>
			            <Point>
			                <position>12</position>
			                <price.amount>77.4</price.amount>
			            </Point>
			            <Point>
			                <position>13</position>
			                <price.amount>85.2</price.amount>
			            </Point>
			            <Point>
			                <position>14</position>
			                <price.amount>82.5</price.amount>
			            </Point>
			            <Point>
			                <position>15</position>
			                <price.amount>79.57</price.amount>
			            </Point>
			            <Point>
			                <position>16</position>
			                <price.amount>81.7</price.amount>
			            </Point>
			            <Point>
			                <position>17</position>
			                <price.amount>77.63</price.amount>
			            </Point>
			            <Point>
			                <position>18</position>
			                <price.amount>83.2</price.amount>
			            </Point>
			            <Point>
			                <position>19</position>
			                <price.amount>87.2</price.amount>
			            </Point>
			            <Point>
			                <position>20</position>
			                <price.amount>90.6</price.amount>
			            </Point>
			            <Point>
			                <position>21</position>
			                <price.amount>85.3</price.amount>
			            </Point>
			            <Point>
			                <position>22</position>
			                <price.amount>82.73</price.amount>
			            </Point>
			            <Point>
			                <position>23</position>
			                <price.amount>90.3</price.amount>
			            </Point>
			            <Point>
			                <position>24</position>
			                <price.amount>101.1</price.amount>
			            </Point>
			            <Point>
			                <position>25</position>
			                <price.amount>83.4</price.amount>
			            </Point>
			            <Point>
			                <position>26</position>
			                <price.amount>95.3</price.amount>
			            </Point>
			            <Point>
			                <position>27</position>
			                <price.amount>124.8</price.amount>
			            </Point>
			            <Point>
			                <position>28</position>
			                <price.amount>136.31</price.amount>
			            </Point>
			            <Point>
			                <position>29</position>
			                <price.amount>98</price.amount>
			            </Point>
			            <Point>
			                <position>30</position>
			                <price.amount>127.85</price.amount>
			            </Point>
			            <Point>
			                <position>31</position>
			                <price.amount>149.91</price.amount>
			            </Point>
			            <Point>
			                <position>32</position>
			                <price.amount>154.91</price.amount>
			            </Point>
			            <Point>
			                <position>33</position>
			                <price.amount>144.05</price.amount>
			            </Point>
			            <Point>
			                <position>34</position>
			                <price.amount>147.9</price.amount>
			            </Point>
			            <Point>
			                <position>35</position>
			                <price.amount>131.2</price.amount>
			            </Point>
			            <Point>
			                <position>36</position>
			                <price.amount>111</price.amount>
			            </Point>
			            <Point>
			                <position>37</position>
			                <price.amount>155</price.amount>
			            </Point>
			            <Point>
			                <position>38</position>
			                <price.amount>129.2</price.amount>
			            </Point>
			            <Point>
			                <position>39</position>
			                <price.amount>112.7</price.amount>
			            </Point>
			            <Point>
			                <position>40</position>
			                <price.amount>94.7</price.amount>
			            </Point>
			            <Point>
			                <position>41</position>
			                <price.amount>132.5</price.amount>
			            </Point>
			            <Point>
			                <position>42</position>
			                <price.amount>108.4</price.amount>
			            </Point>
			            <Point>
			                <position>43</position>
			                <price.amount>96.66</price.amount>
			            </Point>
			            <Point>
			                <position>44</position>
			                <price.amount>89</price.amount>
			            </Point>
			            <Point>
			                <position>45</position>
			                <price.amount>112.5</price.amount>
			            </Point>
			            <Point>
			                <position>46</position>
			                <price.amount>98.59</price.amount>
			            </Point>
			            <Point>
			                <position>47</position>
			                <price.amount>91.7</price.amount>
			            </Point>
			            <Point>
			                <position>48</position>
			                <price.amount>82.4</price.amount>
			            </Point>
			            <Point>
			                <position>49</position>
			                <price.amount>97.5</price.amount>
			            </Point>
			            <Point>
			                <position>50</position>
			                <price.amount>87</price.amount>
			            </Point>
			            <Point>
			                <position>51</position>
			                <price.amount>84.88</price.amount>
			            </Point>
			            <Point>
			                <position>52</position>
			                <price.amount>97.41</price.amount>
			            </Point>
			            <Point>
			                <position>53</position>
			                <price.amount>88.3</price.amount>
			            </Point>
			            <Point>
			                <position>54</position>
			                <price.amount>83.41</price.amount>
			            </Point>
			            <Point>
			                <position>55</position>
			                <price.amount>99.91</price.amount>
			            </Point>
			            <Point>
			                <position>56</position>
			                <price.amount>80.09</price.amount>
			            </Point>
			            <Point>
			                <position>57</position>
			                <price.amount>82.6</price.amount>
			            </Point>
			            <Point>
			                <position>58</position>
			                <price.amount>89.76</price.amount>
			            </Point>
			            <Point>
			                <position>59</position>
			                <price.amount>87.9</price.amount>
			            </Point>
			            <Point>
			                <position>60</position>
			                <price.amount>92.58</price.amount>
			            </Point>
			            <Point>
			                <position>61</position>
			                <price.amount>82</price.amount>
			            </Point>
			            <Point>
			                <position>62</position>
			                <price.amount>90.4</price.amount>
			            </Point>
			            <Point>
			                <position>63</position>
			                <price.amount>101.5</price.amount>
			            </Point>
			            <Point>
			                <position>64</position>
			                <price.amount>112.89</price.amount>
			            </Point>
			            <Point>
			                <position>65</position>
			                <price.amount>84.6</price.amount>
			            </Point>
			            <Point>
			                <position>66</position>
			                <price.amount>103</price.amount>
			            </Point>
			            <Point>
			                <position>67</position>
			                <price.amount>110.1</price.amount>
			            </Point>
			            <Point>
			                <position>68</position>
			                <price.amount>130.05</price.amount>
			            </Point>
			            <Point>
			                <position>69</position>
			                <price.amount>96.57</price.amount>
			            </Point>
			            <Point>
			                <position>70</position>
			                <price.amount>113.8</price.amount>
			            </Point>
			            <Point>
			                <position>71</position>
			                <price.amount>137.57</price.amount>
			            </Point>
			            <Point>
			                <position>72</position>
			                <price.amount>150.06</price.amount>
			            </Point>
			            <Point>
			                <position>73</position>
			                <price.amount>130.8</price.amount>
			            </Point>
			            <Point>
			                <position>74</position>
			                <price.amount>147.6</price.amount>
			            </Point>
			            <Point>
			                <position>75</position>
			                <price.amount>150.01</price.amount>
			            </Point>
			            <Point>
			                <position>76</position>
			                <price.amount>146.09</price.amount>
			            </Point>
			            <Point>
			                <position>77</position>
			                <price.amount>172.5</price.amount>
			            </Point>
			            <Point>
			                <position>78</position>
			                <price.amount>145.05</price.amount>
			            </Point>
			            <Point>
			                <position>79</position>
			                <price.amount>142.55</price.amount>
			            </Point>
			            <Point>
			                <position>80</position>
			                <price.amount>148.16</price.amount>
			            </Point>
			            <Point>
			                <position>81</position>
			                <price.amount>130.09</price.amount>
			            </Point>
			            <Point>
			                <position>82</position>
			                <price.amount>127.29</price.amount>
			            </Point>
			            <Point>
			                <position>83</position>
			                <price.amount>116.8</price.amount>
			            </Point>
			            <Point>
			                <position>84</position>
			                <price.amount>105.02</price.amount>
			            </Point>
			            <Point>
			                <position>85</position>
			                <price.amount>117.56</price.amount>
			            </Point>
			            <Point>
			                <position>86</position>
			                <price.amount>107.6</price.amount>
			            </Point>
			            <Point>
			                <position>87</position>
			                <price.amount>98.34</price.amount>
			            </Point>
			            <Point>
			                <position>88</position>
			                <price.amount>92.5</price.amount>
			            </Point>
			            <Point>
			                <position>89</position>
			                <price.amount>105.08</price.amount>
			            </Point>
			            <Point>
			                <position>90</position>
			                <price.amount>98.6</price.amount>
			            </Point>
			            <Point>
			                <position>91</position>
			                <price.amount>87.6</price.amount>
			            </Point>
			            <Point>
			                <position>92</position>
			                <price.amount>84.73</price.amount>
			            </Point>
			            <Point>
			                <position>93</position>
			                <price.amount>102.5</price.amount>
			            </Point>
			            <Point>
			                <position>94</position>
			                <price.amount>91.4</price.amount>
			            </Point>
			            <Point>
			                <position>95</position>
			                <price.amount>85</price.amount>
			            </Point>
			            <Point>
			                <position>96</position>
			                <price.amount>75.65</price.amount>
			            </Point>
			        </Period>
			    </TimeSeries>
			</Publication_MarketDocument>
			""";

	@Test
	public void testParsePrices() throws Exception {
		var biddingZone = EntsoeBiddingZone.GERMANY;
		var api = EntsoeApi.INSTANCE;
		var parser = XmlParser.INSTANCE;
		var clock = Clock.systemDefaultZone();

		// Test Quarterly resolution
		var prices = api.readPriceData(parser.parseXml(XML), biddingZone, clock);
		assertFalse("Price map should not be empty", prices.getValues().isEmpty());
		assertEquals(120.26, prices.getValues().getAt(Instant.parse("2025-10-14T22:00:00Z")), 0.001);
		assertEquals(116.09, prices.getValues().getAt(Instant.parse("2025-10-14T22:15:00Z")), 0.001);
		assertEquals(90.22, prices.getValues().getAt(Instant.parse("2025-10-15T22:00:00Z")), 0.001);

		assertThrows(RuntimeException.class /* Missing currency data in sequences */, () -> {
			api.readPriceData(parser.parseXml(XML_ONLY_WITH_SEQUENCE_2), biddingZone, clock);
		});

		prices = api.readPriceData(parser.parseXml(MISSING_DATA_AND_MULTIPLE_PERIODS_XML), biddingZone, clock);
		assertFalse("Price map should not be empty", prices.getValues().isEmpty());

		prices = api.readPriceData(parser.parseXml(XML_WITH_BOTH_SEQUENCE_1_AND_2), biddingZone, clock);
		assertFalse("Price map should not be empty", prices.getValues().isEmpty());

		prices = api.readPriceData(parser.parseXml(XML_WITH_PARTIAL_SEQUENCE_1_AND_FULL_SEQUENCE_2), biddingZone,
				clock);
		assertFalse("Price map should not be empty", prices.getValues().isEmpty());
	}

	@Test
	public void testParseCurrency() throws Exception {
		var prices = EntsoeApi.INSTANCE.readPriceData(XmlParser.INSTANCE.parseXml(XML), EntsoeBiddingZone.GERMANY,
				createDummyClock());
		assertEquals("EUR", prices.getCurrency());
	}

	@Test
	public void testParsePricesWithMissingData() throws Exception {
		var xml = XmlParser.INSTANCE.parseXml(MISSING_DATA_AND_MULTIPLE_PERIODS_XML);
		var data = EntsoeApi.INSTANCE.readPriceData(xml, EntsoeBiddingZone.GERMANY, createDummyClock());

		assertEquals("Missing position should be filled with adjacent value", //
				data.getValues().getAt(Instant.parse("2024-10-23T18:00:00Z")), //
				data.getValues().getAt(Instant.parse("2024-10-23T19:00:00Z")), //
				0.001);
	}

	@Test
	public void testParsePricesWithBothResolutions() throws Exception {
		var xml = XmlParser.INSTANCE.parseXml(MISSING_DATA_FOR_QUARTER_DURATION);
		var data = EntsoeApi.INSTANCE.readPriceData(xml, EntsoeBiddingZone.GERMANY, createDummyClock());

		assertEquals(145.2, data.getValues().getAt(Instant.parse("2025-01-17T23:00:00Z")), 0.001);
		assertEquals(127.6, data.getValues().getAt(Instant.parse("2025-01-17T23:15:00Z")), 0.001);
		assertEquals(129.36, data.getValues().getAt(Instant.parse("2025-01-18T22:00:00Z")), 0.001);
		assertEquals(129.36, data.getValues().getAt(Instant.parse("2025-01-18T22:30:00Z")), 0.001);
	}

	@Test
	public void testCalculateDelay() throws OpenemsError.OpenemsNamedException {

		var baseTime = ZonedDateTime.parse("2025-01-01T10:00:00Z");
		var clock = Clock.fixed(baseTime.toInstant(), baseTime.getZone());

		// Mock XML root returning no TimeSeries data
		var xml = XmlParser.INSTANCE.parseXml("<root></root>");

		// Act
		var delay = EntsoeApi.INSTANCE.calculateNextFetchDelay(xml, EntsoeApi.ENTSOE_UPDATE_HOUR, clock);

		// Assert
		assertTrue(delay instanceof DelayTimeProvider.Delay.DurationDelay);
		var duration = ((DelayTimeProvider.Delay.DurationDelay) delay).getDuration();
		assertTrue("Delay should be less than 1 hour", duration.compareTo(Duration.ofHours(1)) < 0);

		baseTime = ZonedDateTime.parse("2025-10-21T12:00:00Z");
		clock = Clock.fixed(baseTime.toInstant(), baseTime.getZone());

		delay = EntsoeApi.INSTANCE.calculateNextFetchDelay(XmlParser.INSTANCE.parseXml(XML),
				EntsoeApi.ENTSOE_UPDATE_HOUR, clock);
		duration = ((DelayTimeProvider.Delay.DurationDelay) delay).getDuration();
		assertTrue("Delay should be less than 1 hour", duration.compareTo(Duration.ofHours(1)) < 0);

		baseTime = ZonedDateTime.parse("2025-10-14T12:00:00Z");
		clock = Clock.fixed(baseTime.toInstant(), baseTime.getZone());

		delay = EntsoeApi.INSTANCE.calculateNextFetchDelay(XmlParser.INSTANCE.parseXml(XML_WITH_BOTH_SEQUENCE_1_AND_2),
				EntsoeApi.ENTSOE_UPDATE_HOUR, clock);
		duration = ((DelayTimeProvider.Delay.DurationDelay) delay).getDuration();
		assertTrue("Delay should be 2 hours", duration.toHours() == 2);

		baseTime = ZonedDateTime.parse("2025-10-14T14:00:00Z");
		clock = Clock.fixed(baseTime.toInstant(), baseTime.getZone());

		delay = EntsoeApi.INSTANCE.calculateNextFetchDelay(XmlParser.INSTANCE.parseXml(XML_WITH_BOTH_SEQUENCE_1_AND_2),
				EntsoeApi.ENTSOE_UPDATE_HOUR, clock);
		duration = ((DelayTimeProvider.Delay.DurationDelay) delay).getDuration();
		assertTrue("Delay should be 24 hours", duration.toHours() == 24);

	}
}
