Commit 77d3f6566f3331775f2c4982d04a388477926199
1 parent
c3c98851
Exists in
master
Support any number of columns.
Also, active review of the changes, checking whether we lost my earlier changes such as sup and sub. We did. :/
Showing
2 changed files
with
114 additions
and
12 deletions
Show diff stats
content.yml
... | ... | @@ -312,30 +312,111 @@ home: |
312 | 312 | <span class="glyphicon glyphicon-envelope" aria-hidden="true"></span> |
313 | 313 | [didier.barret@gmail.com](mailto:didier.barret@gmail.com) |
314 | 314 | |
315 | - sections: | |
316 | - # Add as many sections as you want. | |
317 | - # Three blocks per section ; if you want another amount, it can be done, please ask. | |
315 | + # Three blocks per section. | |
316 | +# sections: | |
317 | + | |
318 | + # You can also use columns. | |
319 | + columns: | |
318 | 320 | - blocks: |
319 | 321 | |
320 | 322 | - title: What does the tool do? |
321 | 323 | content: | |
322 | - The tool computes the carbon footprint associated with round trip flights. It does so for a set of trips from a given city of origin to a set of destinations. Similarly, the tool allows to compute the carbon footprint of a larger set of trips, corresponding to a conference, a meeting and so on. For this, the city of departure for each participant to the conference has to be provided. If multiple host cities are provided, the tool ranks the cities according to the associated carbon footprint. While online calculators enable to compute the footprint of a limited number of trips, this tool enables to compute the footprint of a larger number of trips in an automated way. Furthermore, it provides an estimate based on data from six different methods, whose estimates can differ significantly. If more than one method is selected by the user, the tool returns the mean of the estimates of all selected method. | |
324 | + The tool computes the carbon footprint associated with round trip flights. | |
325 | + It does so for a set of trips from a given city of origin to a set of destinations. | |
326 | + Similarly, the tool allows to compute the carbon footprint of a larger set of trips, | |
327 | + corresponding to a conference, a meeting and so on. | |
328 | + | |
329 | + For this, the city of departure for each participant to the conference has to be provided. | |
330 | + If multiple host cities are provided, | |
331 | + the tool ranks the cities according to the associated carbon footprint. | |
332 | + While online calculators enable to compute the footprint of a limited number of trips, | |
333 | + this tool enables to compute the footprint of a larger number of trips in an automated way. | |
334 | + | |
335 | + Furthermore, it provides an estimate based on data from six different methods, | |
336 | + whose estimates can differ significantly. If more than one method is selected by the user, | |
337 | + the tool returns the mean of the estimates of all selected method. | |
323 | 338 | |
324 | 339 | - title: How does the tool work? |
325 | 340 | content: | |
326 | - A round trip is defined by a city pair. The two cities are geolocated and from their longitude and latitude, the great circle distance is computed. This is the shortest path a plane can follow. Some methods thus consider uplift correction factors in computing the carbon dioxide emission of a flight. In addition, two cities may not be connected by a direct flight. This is accounted for by increasing by 5% the great circle distance. Each method provides the carbon dioxide emission in kg as a function of the flight distance in km. Thus from the increased great circle distance, the carbon dioxide emission of a flight associated with a trip between a city pair is computed and multiplied by two to account for a round trip. | |
341 | + A round trip is defined by a city pair. | |
342 | + The two cities are geolocated and from their longitude and latitude, | |
343 | + the great circle distance is computed. | |
344 | + This is the shortest path a plane can follow. | |
345 | + Some methods thus consider uplift correction factors | |
346 | + in computing the carbon dioxide emission of a flight. | |
347 | + In addition, two cities may not be connected by a direct flight. | |
348 | + This is accounted for by increasing by 5% the great circle distance. | |
349 | + Each method provides the carbon dioxide emission in kg | |
350 | + as a function of the flight distance in km. | |
351 | + Thus from the increased great circle distance, | |
352 | + the carbon dioxide emission of a flight associated with a trip | |
353 | + between a city pair is computed and multiplied by two | |
354 | + to account for a round trip. | |
327 | 355 | |
328 | 356 | - title: Which methods are used? |
329 | 357 | content: | |
330 | - The tool incorporates six different methods, among the most widely used, and for which the methodology used is documented. Providing more than one method enables to get a mean value, while illustrating the significant differences in their estimates. In alphabetic order, the data considered are from ADEME: the French Environment & Energy Management Agency, atmosfair: a German carbon offsetting company, DEFRA: the UK Department for Environment, Food & Rural Affairs, ICAO: International Civil Aviation Organization and finally from the KLM carbon compensation service. This list is obviously not exhaustive but represents a variety of estimates from lower to higher values. | |
358 | + The tool incorporates six different methods, | |
359 | + among the most widely used, and for which the methodology used is documented. | |
360 | + Providing more than one method enables to get a mean value, | |
361 | + while illustrating the significant differences in their estimates. | |
362 | + In alphabetic order, the data considered are from | |
363 | + ADEME: | |
364 | + the French Environment & Energy Management Agency, | |
365 | + atmosfair: | |
366 | + a German carbon offsetting company, | |
367 | + DEFRA: | |
368 | + the UK Department for Environment, Food & Rural Affairs, | |
369 | + ICAO: | |
370 | + International Civil Aviation Organization | |
371 | + and finally from the KLM carbon compensation service. | |
372 | + | |
373 | + This list is obviously not exhaustive | |
374 | + but represents a variety of estimates from lower to higher values. | |
331 | 375 | |
332 | 376 | - title: How are the different methods built? |
333 | 377 | content: | |
334 | - What is needed for each method is a function giving the carbon dioxide emission as a function of the flight distance. ADEME and DEFRA provide mean emission factors, as a function of flight distance. Myclimate provides an analytical formula. For ICAO and atmosfair, the on-line calculators have been run for a wide range of flights of varying distances (~100 flights spanning from 300 km to 12000 km) and the estimates have been fitted with linear functions, covering adjacent distance intervals. For its carbon compensation service, KLM provides on its web site a table of emissions for a large range of flights. The KLM data have been also been fitted with linear functions. | |
378 | + What is needed for each method is a function | |
379 | + giving the carbon dioxide emission | |
380 | + as a function of the flight distance. | |
381 | + ADEME and DEFRA provide mean emission factors, | |
382 | + as a function of flight distance. | |
383 | + Myclimate provides an analytical formula. | |
384 | + For ICAO and atmosfair, the on-line calculators have been run | |
385 | + for a wide range of flights of varying distances | |
386 | + (~100 flights spanning from 300 km to 12000 km) | |
387 | + and the estimates have been fitted with linear functions, | |
388 | + covering adjacent distance intervals. | |
389 | + For its carbon compensation service, | |
390 | + KLM provides on its web site a table of emissions | |
391 | + for a large range of flights. | |
392 | + The KLM data have also been fitted with linear functions. | |
335 | 393 | |
336 | - - title: What about radiative forcing? {#rfi} | |
337 | - content: | | |
338 | - Radiative forcing accounts for the fact that aviation contributes to climate change more than just with the emission of carbon dioxide from burning fuels, by releasing gases and particles directly into the upper troposphere and lower stratosphere where they have an impact on atmospheric composition. These gases and particles include carbon dioxide (CO2), ozone (O3), and methane (CH4); trigger formation of condensation trails (contrails); and may increase cirrus cloudiness; all of which contribute to climate change. A Radiative Forcing Index (RFI) of 1.9โ2 is used by DEFRA, myclimate and recommended by ADEME (see discussion in Jungbluth, N. & Meili, C. Int J Life Cycle Assess (2019) 24: 404. https://doi.org/10.1007/s11367-018-1556-3). ATMOSFAIR considers a multiplier of 3, for all emissions above 9 km, accounting for the profile of the flight. ICAO, on the other hand does not include a multiplier, arguing that the scientific community has not settle on a value! KLM data does not seem to account for radiative forcing either, as the estimates they provide are close, although a little higher, than the ones of ICAO. Therefore, the methods based on ICAO and KLM data are not recommended, but given as methods providing the lowest emissions. | |
394 | + - content: | | |
395 | + ### What about radiative forcing? {#rfi} | |
396 | + Radiative forcing accounts for the fact that aviation contributes | |
397 | + to climate change more than just with the emission of carbon dioxide | |
398 | + from burning fuels, by releasing gases and particles directly | |
399 | + into the upper troposphere and lower stratosphere | |
400 | + where they have an impact on atmospheric composition. | |
401 | + These gases and particles include carbon dioxide (CO2), ozone (O3), | |
402 | + and methane (CH4); | |
403 | + trigger formation of condensation trails (contrails); | |
404 | + and may increase cirrus cloudiness; | |
405 | + all of which contribute to climate change. | |
406 | + A Radiative Forcing Index (RFI) of 1.9โ2 is used by DEFRA, | |
407 | + myclimate and recommended by ADEME | |
408 | + (see discussion in Jungbluth, N. & Meili, | |
409 | + C. Int J Life Cycle Assess (2019) 24: 404. | |
410 | + https://doi.org/10.1007/s11367-018-1556-3). | |
411 | + ATMOSFAIR considers a multiplier of 3, for all emissions above 9 km, | |
412 | + accounting for the profile of the flight. | |
413 | + ICAO, on the other hand does not include a multiplier, | |
414 | + arguing that the scientific community has not settle on a value! | |
415 | + KLM data does not seem to account for radiative forcing either, | |
416 | + as the estimates they provide are close, although a little higher, | |
417 | + than the ones of ICAO. | |
418 | + Therefore, the methods based on ICAO and KLM data are not recommended, | |
419 | + but given as methods providing the lowest emissions. | |
339 | 420 | |
340 | 421 | - title: Original motivation |
341 | 422 | content: | |
... | ... | @@ -343,7 +424,6 @@ home: |
343 | 424 | |
344 | 425 | - blocks: |
345 | 426 | |
346 | - | |
347 | 427 | - title: Seating category |
348 | 428 | content: | |
349 | 429 | The tool assumes economy seats in computing the carbon dioxide emission. For indication, DEFRA provides mean emission factors for different seat classes considering international flights. Related to the area occupied by the seat in the plane, for Premium economy, the emission would be 1.6 times larger than flying an economy seat. It would be 2.9 and 4 times higher from flying Business class and First class respectively. | ... | ... |
flaskr/templates/home.html
... | ... | @@ -23,8 +23,9 @@ |
23 | 23 | </div> |
24 | 24 | </div> |
25 | 25 | |
26 | - {# THREE COLMUNS TEXT LAYOUT #############################################} | |
26 | + {# THREE COLUMNS TEXT LAYOUT #############################################} | |
27 | 27 | |
28 | + {% if content.home.sections -%} | |
28 | 29 | {% for section in content.home.sections -%} |
29 | 30 | <div class="row"> |
30 | 31 | {% for block in section.blocks -%} |
... | ... | @@ -37,6 +38,27 @@ |
37 | 38 | {%- endfor %} |
38 | 39 | </div> |
39 | 40 | {%- endfor %} |
41 | + {%- endif %} | |
42 | + | |
43 | + | |
44 | + {# COLUMNS TEXT LAYOUT #############################################} | |
45 | + | |
46 | + {% if content.home.columns -%} | |
47 | + <div class="row"> | |
48 | + {% for column in content.home.columns -%} | |
49 | + <div class="col-md-{{ (12/(content.home.columns | length)) | int }} text-justify"> | |
50 | + {% for block in column.blocks -%} | |
51 | + <article> | |
52 | + {% if block.title -%} | |
53 | + <h3>{{ block.title }}</h3> | |
54 | + {%- endif %} | |
55 | + {{ block.content | markdown | safe }} | |
56 | + </article> | |
57 | + {%- endfor %} | |
58 | + </div> | |
59 | + {%- endfor %} | |
60 | + </div> | |
61 | + {%- endif %} | |
40 | 62 | |
41 | 63 | {% endblock %} |
42 | 64 | ... | ... |