forked from vividfog/nordpool-predict-fi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (53 loc) · 5.61 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="fi-FI">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Cache-Control" content="max-age=3600, must-revalidate">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="theme-color" content="#f0f2f5" />
<link rel="stylesheet" href="styles.css">
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/echarts/dist/echarts.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;400;600;800&display=swap" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
<title>Pörssisähkön hintaennuste</title>
</head>
<body>
<div id="topdisclaimer">Sivusta on alkanut ilmestyä kopioita. Tarkista että sivun osoite on https://sahkovatkain.web.app ja älä jaa muita linkkejä.</div>
<div id="predictionText">
<h1 style="padding-top: 16px">Pörssisähkön hintaennuste</h1>
<p><strong>Tämä kokeellinen koneoppimismalli haarukoi pörssisähkön kuluttajahintaa noin 5 pv eteenpäin. Malli peilaa mm. ennustettua säätä, sähköntuotantoa ja nykyistä kuukautta/viikonpäivää aiempiin ajanjaksoihin, joissa nämä seikat olivat samankaltaiset.</strong></p>
<p>Vaikka malli on toisinaan yllättävänkin tarkka, sen tuottamaan ennusteeseen tulee suhtautua varauksella. Se ei huomioi tulevia poikkeuspäiviä, kuten esim. siirtoyhteyksien katkeamisia tai palautumisia. Sääennuste voi vielä muuttua, ja tämä vaikuttaa lähipäivien hintaan. Malli ja ennuste päivittyvät muutaman kerran päivässä uusimman datan pohjalta.</p>
<p>Nordpool-hinta näkyy liikennevalon väreillä. Mallin ennuste sinisellä katkoviivalla.</p>
<p id="predictionChart"></p>
<h1>Lähipäivien hintakehitys</h1>
<p id="llm">Teksti on luotu koneellisesti kielimallin avulla.</p>
<p id="narration"></p>
<h1>Ennusteen kehitys</h1>
<p>Graafi kertoo, miten mallin ennusteet ovat kehittyneet ajan yli. Tämä saattaa auttaa hahmottamaan, mihin suuntaan ennuste on menossa. Isoja mielenmuutoksia voi tulla esim. mallin rakenteen muuttuessa, tai jos sääennuste on muuttunut paljon, tai jos ohjelmointivirhe on sotkenut aiemman ennusteen.</p>
<p>Oranssi viiva on toteutunut Nordpool-hinta. Vahva sininen viiva on uusin ennuste. Ohenevat siniset viivat ovat aiempia ennusteita aiemmilta päiviltä.</p>
<div id="historyChart" style="height: 40vh; width: 100%; max-width: 920px; margin: auto; box-sizing: border-box; padding-top: 32px;"></div>
<h1 style="padding-top: 32px">Mitä ennuste huomioi?</h1>
<p>Kyseessä on <a href="https://statquest.org/statquest-random-forests-part-1-building-using-and-evaluating/" target="_blank">Random Forest</a> -koneoppimismalli, joka hakee korrelaatioita eri muuttujien välillä ja oppii, millaiseen hintaan kukin yhdistelmä historian perusteella johtaa. Tämä ei siis ole aikasarjaennuste, vaan jokainen tunti saa arvonsa erikseen näiden tietojen perusteella:</p>
<li><strong>Isoimpien tuulivoima-alueiden tuuliennuste:</strong> FMI-sääasemat, eli epäsuorasti tuulivoiman määrä</li>
<li><strong>Muutaman keskeisen asutuskeskuksen lämpötilaennuste:</strong> FMI-sääasemat, eli epäsuorasti lämmitystarve</li>
<li><strong>Ydinvoimatuotanto:</strong> Fingrid (mallin opetus) ja ENTSO-E REMIT UMM (ennuste)</li>
<li><strong>Viikonpäivä:</strong> ma-su</li>
<li><strong>Kellonaika:</strong> 0-23</li>
<li><strong>Kuukausi:</strong> vuodenajan vaikutus, jos sellainen vaikutus on</li>
<p>Nämä muuttujat on valittu intuitiolla ja kokeilemalla. Jokin toinen yhdistelmä voisi toimia paremmin tai huonommin. Lähdekoodi on avointa, joten olet tervetullut kokeilemaan erilaisia vaihtoehtoja näiden lisäksi tai sijaan.<p>
<p>Ota huomioon, että sähkömarkkinoilla seilaa <a href="https://www.terracognita.fi/tuote/musta-joutsen/" target="_blank">mustia joutsenia</a> ja pörssisähkön ensi viikon hintaan ei tällä vatkaimella ole todellista näkyvyyttä, saati valtaa. Se lukee samoja sääennusteita kuin sinä, ja sääennusteetkin ovat tämän tästä väärässä.
<p style="padding-bottom: 24px;">Vaikka malli osaa "ennustaa" menneisyyttä oivasti, se ei takaa että arviot tulevaisuudesta osuvat kohdalleen. Älä siis esim. säädä talosi lämmitystä näiden numeroiden perusteella, jos et ole kotona.</p>
<div id="disclaimer" style="padding-bottom: 24px;"><a id="source-code-link" href="mailto:[email protected]" target="_blank">email</a></div>
</div>
</div>
<div id="disclaimer">Lähteet: <a href="https://www.ilmatieteenlaitos.fi/havaintojen-lataus" target="_blank">Ilmatieteen laitos</a>, <a href="https://data.fingrid.fi" target="_blank">Fingrid</a>, <a href="https://sahkotin.fi/api" target="_blank">sahkotin.fi</a>.</div>
<div id="github-logo-container"><a href="https://github.com/vividfog/nordpool-predict-fi" target="_blank"><img src="https://nordpool-predict-fi.web.app/github-mark.png" alt="GitHub Repo" id="github-logo"></a></div>
<div id="source-code-text"><a id="source-code-link" href="https://github.com/vividfog/nordpool-predict-fi" target="_blank">vividfog/nordpool-predict-fi</a></div>
<script src="scripts.js"></script>
</body>
</html>