Sähköhinnan ennustaminen tekoälytyökaluilla
Vähäkainu, Jani (2026)
Diplomityö
Vähäkainu, Jani
2026
School of Energy Systems, Sähkötekniikka
Kaikki oikeudet pidätetään.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi-fe20260930130093
https://urn.fi/URN:NBN:fi-fe20260930130093
Tiivistelmä
Sähköhinnan voimistunut vaihtelu on tehnyt sen ennustamisesta aiempaa vaativampaa. Tässä diplomityössä tutkitaan, kuinka hyvin Amazonin kehittämä esikoulutettu Chronos-2- foundation-malli soveltuu Suomen sähkönhinnan ennustamiseen 15 minuutin aikaresoluutiolla. Mallia käytettiin zero-shot-tilassa eli ilman kohdeaineistolla tehtyä hienosäätöä.
Työssä ajettiin 189 ennustekonfiguraatiota, jotka muodostuivat kolmesta mallivariantista, kolmesta kontekstin pituudesta, seitsemästä ennustehorisontista ja kolmesta aloituspäivästä. Variantit olivat pelkkään hintahistoriaan perustuva univariate ja kaksi kovariaattivarianttia, joissa hyödynnettiin tuuli- ja kulutusennustetta sekä väestöpainotettua lämpötilaa. Ennustehorisontit ulottuivat yhdestä vuorokaudesta kolmeen kuukauteen. Tarkkuutta arvioitiin MAE:n, RMSE:n, WQL:n ja 90 %:n ennustevälin kattavuuden avulla. Vertailukohtana oli viikoittainen kausinaiivimalli. Lisäksi mallia sovellettiin ylössäätö-, alassäätö- ja FCR-Nhintaan neljällä eri horisontilla yhdestä vuorokaudesta viikkoon. Näillä sarjoilla toisena vertailukohtana käytettiin tasoennustetta.
Chronos-2 alitti kausinaiivimallin keskimääräisen absoluuttisen virheen kaikilla horisonteilla. Pidempi konteksti ei automaattisesti parantanut ennustetta, eikä yhtä optimaalista kontekstin pituutta löytynyt, sillä vaikutus riippui variantista, horisontista ja aloituspäivästä. Kovariaatit eivät aina parantaneet mediaaniennustetta, mutta ne paransivat ennustejakauman laatua. Keskeisin havainto oli, ettei matala MAE tarkoita pitkällä horisontilla hyvää ennustekykyä, sillä se syntyy tasaisesta, keskiarvoa lähestyvästä ennusteesta. Ennustevälin kattavuus painui kahdessa kuukaudessa 77 ja kolmessa kuukaudessa 68 prosenttiin. Sama ylivarmuus toistui säätö- ja reservihinnoissa, joissa malli ei ennustanut hintavaihtelun ajoitusta. Etu tasoennusteeseen nähden jäi selvästi kausinaiivia pienemmäksi. Chronos-2 soveltuu lyhyen ja keskipitkän aikavälin ennustamiseen, mutta sen ennustevälejä ei voi sellaisenaan käyttää riskienhallinnan pohjana pitkillä horisonteilla eikä säätö- ja reservimarkkinoilla. Increased volatility in electricity prices has made forecasting them more demanding. This master’s thesis examines how well the pre-trained Chronos-2 foundation model developed by Amazon performs in forecasting Finnish electricity prices at a 15-minute resolution. The model was used in zero-shot mode, that is, without fine-tuning on the target data.
A total of 189 forecast configurations were run, formed from three model variants, three context lengths, seven forecast horizons and three starting dates. The variants were a univariate model based on price history alone and two covariate variants that used wind power and consumption forecasts together with population-weighted temperature. The horizons ranged from one day to three months. Accuracy was assessed using MAE, RMSE, WQL and the coverage of the 90-percent prediction interval, and the results were compared with a weekly seasonal naive model. The model was also applied to upward and downward regulation prices and to the FCR-N hourly market price at horizons extending up to one week. For these series a level forecast served as a second benchmark.
Chronos-2 achieved a lower mean absolute error than the seasonal naive model at every horizon. A longer context did not automatically improve the forecast, and no single optimal context length was found, as the effect depended on the variant, the horizon and the starting date. The covariates did not always improve the median forecast, but they did improve the quality of the predictive distribution. The central finding was that low MAE does not indicate good forecasting ability at long horizons, because the model produced a flat forecast approaching the mean of the series. The coverage of the prediction interval fell to 77 percent at two months and to 68 percent at three months. The same overconfidence recurred in the regulation and reserve prices, where the model failed to forecast the timing of price variation. Its advantage over the level forecast was clearly smaller than over the seasonal naive model. Chronos-2 is suitable for short- and medium-term forecasting, but its prediction intervals cannot be used as a basis for risk management at long horizons or in the regulation and reserve markets.
Työssä ajettiin 189 ennustekonfiguraatiota, jotka muodostuivat kolmesta mallivariantista, kolmesta kontekstin pituudesta, seitsemästä ennustehorisontista ja kolmesta aloituspäivästä. Variantit olivat pelkkään hintahistoriaan perustuva univariate ja kaksi kovariaattivarianttia, joissa hyödynnettiin tuuli- ja kulutusennustetta sekä väestöpainotettua lämpötilaa. Ennustehorisontit ulottuivat yhdestä vuorokaudesta kolmeen kuukauteen. Tarkkuutta arvioitiin MAE:n, RMSE:n, WQL:n ja 90 %:n ennustevälin kattavuuden avulla. Vertailukohtana oli viikoittainen kausinaiivimalli. Lisäksi mallia sovellettiin ylössäätö-, alassäätö- ja FCR-Nhintaan neljällä eri horisontilla yhdestä vuorokaudesta viikkoon. Näillä sarjoilla toisena vertailukohtana käytettiin tasoennustetta.
Chronos-2 alitti kausinaiivimallin keskimääräisen absoluuttisen virheen kaikilla horisonteilla. Pidempi konteksti ei automaattisesti parantanut ennustetta, eikä yhtä optimaalista kontekstin pituutta löytynyt, sillä vaikutus riippui variantista, horisontista ja aloituspäivästä. Kovariaatit eivät aina parantaneet mediaaniennustetta, mutta ne paransivat ennustejakauman laatua. Keskeisin havainto oli, ettei matala MAE tarkoita pitkällä horisontilla hyvää ennustekykyä, sillä se syntyy tasaisesta, keskiarvoa lähestyvästä ennusteesta. Ennustevälin kattavuus painui kahdessa kuukaudessa 77 ja kolmessa kuukaudessa 68 prosenttiin. Sama ylivarmuus toistui säätö- ja reservihinnoissa, joissa malli ei ennustanut hintavaihtelun ajoitusta. Etu tasoennusteeseen nähden jäi selvästi kausinaiivia pienemmäksi. Chronos-2 soveltuu lyhyen ja keskipitkän aikavälin ennustamiseen, mutta sen ennustevälejä ei voi sellaisenaan käyttää riskienhallinnan pohjana pitkillä horisonteilla eikä säätö- ja reservimarkkinoilla.
A total of 189 forecast configurations were run, formed from three model variants, three context lengths, seven forecast horizons and three starting dates. The variants were a univariate model based on price history alone and two covariate variants that used wind power and consumption forecasts together with population-weighted temperature. The horizons ranged from one day to three months. Accuracy was assessed using MAE, RMSE, WQL and the coverage of the 90-percent prediction interval, and the results were compared with a weekly seasonal naive model. The model was also applied to upward and downward regulation prices and to the FCR-N hourly market price at horizons extending up to one week. For these series a level forecast served as a second benchmark.
Chronos-2 achieved a lower mean absolute error than the seasonal naive model at every horizon. A longer context did not automatically improve the forecast, and no single optimal context length was found, as the effect depended on the variant, the horizon and the starting date. The covariates did not always improve the median forecast, but they did improve the quality of the predictive distribution. The central finding was that low MAE does not indicate good forecasting ability at long horizons, because the model produced a flat forecast approaching the mean of the series. The coverage of the prediction interval fell to 77 percent at two months and to 68 percent at three months. The same overconfidence recurred in the regulation and reserve prices, where the model failed to forecast the timing of price variation. Its advantage over the level forecast was clearly smaller than over the seasonal naive model. Chronos-2 is suitable for short- and medium-term forecasting, but its prediction intervals cannot be used as a basis for risk management at long horizons or in the regulation and reserve markets.
