-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate.html
164 lines (161 loc) · 7.84 KB
/
template.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<html lang="en">
<head>
<title>model.energy/future</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.rawgit.com/afeld/bootstrap-toc/v1.0.1/dist/bootstrap-toc.min.css"/>
<link rel="stylesheet" type="text/css" href="../nowcast.css">
</head>
<body id="page-top">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top" id="mainNav">
<div class="container">
<a class="navbar-brand js-scroll-trigger" href="../index.html">model.energy/future</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="#days">{{config['days_to_plot']}} days in {{ct}}</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="#full_simulation">Full simulation</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="#weeks">Past {{n_weeks}} weeks</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="#future_capacities">Future capacities in {{ct}}</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="#statistics">Aggregated yearly statistics</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="#full_data">All data & licence</a>
</li>
</ul>
</div>
</div>
</nav>
<header class="bg-primary text-white">
<div class="container text-center">
<h1><a href="../index.html" style="color:white;">model.energy/future</a>: {{ config['name'] }}: {{config['description']}}</h1>
</div>
</header>
<div class="container-fluid">
<div class="row">
<! -- next three lines just provide some padding on left in case want to insert TOC -->
<div class="col-md-2 toc-col">
<nav id="toc" class="sticky-top"></nav>
</div>
<div class="col-md-12 col-lg-9">
<div class="container-like">
<br />
<p><a href="../index.html">return home</a></p>
<section id="days">
<h2>Past {{config['days_to_plot']}} days in {{ct}}</h2>
<img class="wide" src="../{{results_dir}}/{{days_fn}}-supplydemand.png" />
<img class="wide" src="../{{results_dir}}/{{days_fn}}-shares.png" />
<img class="wide" src="../{{results_dir}}/{{days_fn}}-state_of_charge.png" />
<img class="wide" src="../{{results_dir}}/{{days_fn}}-price.png" />
</section>
<section id="full_simulation">
<h2>Full simulation (weekly averages)</h2>
<img class="wide" src="../{{results_dir}}/{{ct}}-full-supplydemand.png" />
<img class="wide" src="../{{results_dir}}/{{ct}}-full-shares.png" />
<img class="wide" src="../{{results_dir}}/{{ct}}-full-state_of_charge.png" />
<img class="wide" src="../{{results_dir}}/{{ct}}-full-price.png" />
<img class="wide" src="../{{results_dir}}/{{ct}}-full-price_duration.png" />
{% for statistic in ["electricity mean price [€/MWh]","System levelised cost for demand excluding storage [€/MWh]"] %}
<p>{{statistic}}: {{ "%.2f"|format(statistics[statistic]) }}</p>
{% endfor %}
<p><a href="#statistics">All aggregated yearly statistics</a></p>
</section>
<section id="weeks">
<h2>Past {{n_weeks}} weeks</h2>
{% for week in weeks %}
<h3>Week {{week}}</h3>
<img class="wide" src="../{{results_dir}}/{{ct}}-week-{{week}}-supplydemand.png" />
<img class="wide" src="../{{results_dir}}/{{ct}}-week-{{week}}-shares.png" />
<img class="wide" src="../{{results_dir}}/{{ct}}-week-{{week}}-state_of_charge.png" />
<img class="wide" src="../{{results_dir}}/{{ct}}-week-{{week}}-price.png" />
{% endfor %}
</section>
<section id="future_capacities">
<h2>Future capacities in {{ct}}</h2>
All units are GW for power, GWh for storage energy or million additional units for heat pumps and battery electric vehicles.
<table id="results_table">
<tr>
<th>Technology</th>
<th>Future Capacity</th>
<th>Current Capacity</th>
<th><a href="https://www.gesetze-im-internet.de/eeg_2014/__4.html">EEG Target 2030</a></th>
<th><a href="https://www.gesetze-im-internet.de/eeg_2014/__4.html">EEG Target 2040</a></th>
</tr>
{% for tech in config['future_capacities'][ct] %}
<tr>
<td>{{tech}}</td>
<td>{{config['future_capacities'][ct][tech]}}</td>
<td>{{current_capacities[tech]}}</td>
<td>{{config['targets'][ct][2030][tech]}}</td>
<td>{{config['targets'][ct][2040][tech]}}</td>
</tr>
{% endfor %}
</table>
<p>Constant hydrogen value: {{config['hydrogen_value']}} €/MWh<sub>LHV</sub>;
Value of lost load: {{config['voll']}} €/MWh.
All costs and prices are in 2020 euros. Fuel energy refers to the lower heating value (LHV).</p>
</section>
<section id="statistics">
<h2>Aggregated yearly statistics</h2>
<p>All costs and prices are in 2020 euros. Fuel energy refers to the lower heating value (LHV). Annuities are calculated with <a href="../costs.csv">2030 cost assumptions</a> and a weighted average cost of capital (WACC) of 7%.</p>
<table id="statistics_table">
<tr>
<th>Statistic</th>
<th>value</th>
</tr>
{% for statistic in statistics %}
<tr>
<td>{{statistic}}</td>
<td>{{ "%.2f"|format(statistics[statistic]) }}</td>
</tr>
{% endfor %}
</table>
</section>
<section id="full_data">
<h2>All data & licence</h2>
<p><a href="../{{results_dir}}/">Folder of all outputs</a></p>
<p>All data available on this website is available openly under the <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International Licence</a> (CC BY).</p>
</section>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="https://cdn.rawgit.com/afeld/bootstrap-toc/v1.0.1/dist/bootstrap-toc.min.js"></script>
<script src="../jquery.easing.min.js"></script>
<script src="../scrolling-nav.js"></script>
<script type="text/javascript">
// Determine which navbar to assign scrollspy depending on window width
if ($(window).width() >= 992) {
$(function() {
var navSelector = "#toc";
var $myNav = $(navSelector);
Toc.init($myNav);
$("body").scrollspy({
target: navSelector
});
});
} else {
$('body').scrollspy({
target: '#mainNav',
offset: 56
});
}
</script>
</body>
</html>