Blame view

content.yml 19.9 KB
50cbf64e   Goutte   Add the YAML cont...
1
2
# This YAML file holds some of the content of the website, for convenience.
# Learn YAML, it's worth it: http://sweetohm.net/article/introduction-yaml.html
28f7c8ff   Goutte   Add more content....
3
# /!. IF YOU BREAK THIS FILE YOU BREAK THE WEBSITE.  TREAD CAREFULLY.
50cbf64e   Goutte   Add the YAML cont...
4
5
6
7
8
9
10
11

# Metadata about this website
meta:
  title: Travel Carbon Footprint Calculator
  description: A travel carbon footprint calculator for researchers.
  authors:
    - name:  Didier Barret
      email: dbarret@irap.omp.eu
63eca56b   Antoine Goutenoir   Continue structur...
12
      role:  Principal Investigator
50cbf64e   Goutte   Add the YAML cont...
13
14
    - name:  Antoine Goutenoir
      email: agoutenoir@irap.omp.eu
63eca56b   Antoine Goutenoir   Continue structur...
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
      role:  Software Ninja


# Aka. Laws
models:
  - name: Atmosfair
    # Slugged version of the display name above
    # Only lowercase alphanumeric, starting with a letter, using - as liaison
    # In other words, MUST match ^[a-z]([a-z0-9-]*[a-z0-9])?$ eg: icao-with-rfi
    # MUST be unique, two models MUST NOT have the same slug.
    slug: atmosfair
    # There MUST exist a python file named like this in `flaskr/laws`
    # And it MUST contain a class named EmissionModel
    # Please keep this lowercased, letters-only (or I will breathe fire)
    file: atmosfair
    # The configuration that will be fed to the model.
    # May be anything, really.  Go bonkers!
    config:
      plane_emission_linear_fit:
22ca92a6   Antoine Goutenoir   Add the connectin...
34
35
36
        # A coefficient applied to the distance
        connecting_flights_scale: 1.05
        # First interval found will apply its scale and offset
63eca56b   Antoine Goutenoir   Continue structur...
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
        intervals:
          # Distances [dmin, dmax[ are in kilometers.
          - dmin: 0
            dmax: 500
            # The scaling law for this interval of distances. Defaults to 1.
            scale: 5
            # Offset is optional and defaults to 0.
            offset: 0
          - dmin: 500
            dmax: 5000
            scale: 50
            offset: 0
          # dmin dmax a b
          # for a fitting of (a*x + b) on the interval [dmin dmax[
          # b is optional and defaults to 0
#          - "0 500 4"
#          - 500 1000 8
        offset: 50
50cbf64e   Goutte   Add the YAML cont...
55
56


28f7c8ff   Goutte   Add more content....
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
# The content is Markdown.  HTML is also allowed.
# If you also want Markdown in the titles, just ask.
home:
  # The hero block (aka. jumbotron) is the top-level, salient block
  # It's like a welcoming mat :)
  hero:
    title: Estimate your travel carbon footprint
    # Using a pipe (|) allows you to set multiline content
    # Careful, indentation matters.
    description: |
      Travel footpint calculator provided by Didier Barret
      <br>
      <span class="glyphicon glyphicon-globe" aria-hidden="true"></span>
      CNRS,
      <span class="glyphicon glyphicon-home" aria-hidden="true"></span>
      [IRAP](http://www.irap.omp.eu),
      <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
      [@DidierBarret](https://twitter.com/DidierBarret),
      <span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>
      [didier.barret@gmail.com](mailto:didier.barret@gmail.com)


  sections:
    # Add as many sections as you want.
    # Three blocks per section ; if you want another amount, it can be done, please ask.
    - blocks:

      - title: What does this do?
        content: |
          The tool helps computing your travel carbon footprint
          for a **round trip** from a given location,
          for a set of visited cities (listed in the input excel sheet).

          Similarly, the tool allows to compute the travel footprint
          of a conference/meeting/etc.
          (the originating city of each participant is provided in the input excel sheet).

          It can also return the city that would minimize the travel footprint
          assuming the same audience of the conference/meeting.

          While online CO<sub>2</sub> calculators enable to compute the footprint
          for a limited number of trips with detailed trip information
          (e.g. connecting flights),
          this tool enables to compute the footprint of a larger number of travels,
          making some assumptions, e.g. to model connecting flights.

          For short distance travels, the CO<sub>2</sub> footprint associated with trains
          is calculated and added to the air travel footprint.

          ### Original Motivation

          Global warming is a threat for life on our planet.
          Emissions of carbon dioxide by aircraft were 0.14 Gt C/year in 1992.
          This was between 2% of total anthropogenic carbon dioxide emissions in 1992
          or about 13% of carbon dioxide emissions from all transportation sources
          (Intergovernmental panel on climate change, report 1999).

          Due to an increasing demand and the growth of the world economy,
          the number has grown since then, reaching closer to 3% nowadays,
          a number which will keep growing.

          Carrying scientific research requires traveling all across the world,
          but time has come to critically look at the way we carry research,
          with the aim of raising awareness and reducing our environmental impact,
          whenever possible.
          In this context, it is worth looking at what the carbon footprint
          of travels associated with the development of a large project,
          such as the Athena X-ray Integral Field Unit,
          is and implement actions to reduce it.
          The consortium involved in the development of the X-ray Integral Field Unit
          for the flagship Athena Space X-ray observatory of the European Space Agency
          involves currently 13 countries, 11 in Europe plus Japan and the United States.
          The amount of traveling required for the project is necessarily large.
          As PI of the X-IFU, my original motivation was to estimate what large meant,
          as an input to discussing actions to reduce our footprint with the members of the consortium.

      - title: Which data are used?
        content: |
          There is a growing interest in getting the travel footprint of scientific events,
          such as conferences or large meetings.

          Those are based on freely available CO<sub>2</sub> calculators,
          some being relatively to use, requiring very limited user inputs.

          However, just by running some of them (including those from Carbon offset companies),
          it is amazing to see how their estimates can differ quite significantly
          (up to a factor of a few for the same trip).

          This is because they use different input data and consider different perimeters and assumptions,
          e.g. excluding freight or not, assuming different radiative forcing indices,
          seat accommodation in the plane…

          The straight numbers provided should therefore not be taken at face value,
          but should be looked at, for what they include and mean.
          It is also striking to me that there is hardly any scientific literature
          on the comparison between CO<sub>2</sub> calculators,
          although often discrepancies are noticed in some communications,
          more particularly for long distance flights.

          Relying on one calculator is therefore not possible.
          This is why I am computing estimates based on different methods.
          This tool thus enables to compute your travel carbon footprint (for round trips),
          based on data provided by 4 independent state-of-the-art emission calculators:

          1. the International Civil Aviation Organization (ICAO),
          2. the UK Department for Environment, Food & Rural Affairs (DEFRA),
          3. the ATMOSFAIR German Carbon offsetting company, and finally
          4. the French Environment & Energy Management Agency (ADEME).

          ICAO, DEFRA and ATMOSFAIR have their methodology very well described
          (see resources section below).

          I have enquired to ADEME to get more about their methodology.
          ADEME and DEFRA provide mean emission factors as a function of flight distance.
          ADEME considers seat capacity and DEFRA gives emission factors
          as a function of seat type (from economy to first class seat).
          The ADEME emission factors are averaged over the seat capacity
          the coefficients are provided for.
          ATMOSFAIR and ICAO provide on line emission calculators requiring limited user inputs.
          Those on-line calculators have been run for a variety of flight distances,
          so that the estimates (without error bars) could be fitted with linear functions,
          between boundaries arbitrarily set (below 1000 km, between 1000 and 4000 km and above 4000 km).

      - title: How does this tool work?
        content: |
          For estimating your own travel footprint,
          the only thing you have to provide is an excel file
          which contains only the different final destinations that you traveled to,
          while the main city (origin) is entered on the form below.
          For estimating the travel footprint of a conference,
          you must provide the city from which each participant departs from
          and enter the host city of the conference in the form below.

          The tool then decodes the list of cities in the input excel sheet
          (please check the spelling when filling it up),
          and finds the closest airport within 100 km
          (large airport first and and if no large airports exists, it finds a medium one)
          using the google geolocator.
          This returns the longitude and latitude of the closest airport.
          Cities that cannot be located are ignored from the computation.
          To resolve ambiguity between cities of similar names (e.g. Cambridge),
          I require the name of the country.

          From the longitude and latitude of two airports
          (e.g. the host city of a conference and the departing city of an attendee),
          the tool computes the great circle distance (GCD).
          This is the shortest path a plane can follow.
          Short trips (e.g. shorter than 300 km) are accounted by trains.
          Traveling between cities often involve connexions.
          Here I consider a 5% increase of the GCD, as a mean value,
          understanding that it may be less on long flights and more on shorter flights.

          The emission factors of DEFRA include a 8% uplift to account for the fact that planes,
          even during direct flight, do not strictly follow the shortest path,
          e.g. to avoid bad weather conditions.
          ICAO adds some constants depending on the flight distance:
          the GCD correction factor is 50 km for GCD less than to 550 km,
          100 km for GCD between 550 and 5500 km, and 125 km for for GCD above 5500 km.
          ATMOSFAIR adds a systematic 50 km to the GCD.
          For ADEME, there is no indication on whether any GCD correction applies,
          so I will assume the ICAO GCD correction.

          CO<sub>2</sub> emissions per passenger take into consideration the load factor
          and are based only on passenger operations
          (i.e. fuel burn associated with belly freight is not charged to the passenger).

          Given the corrected GCD so computed,
          I use either the mean emission coefficients or the linear functions
          fitting the data of the on-line calculators.
          Note that there are no error bars on the estimates and very little literature on the topic.
          Only ATMOSFAIR returns whenever available,
          the data from different possible flights,
          considering different airlines.
          It also returns the the average over all airlines.

    # Second row of "blocks"
    - blocks:

      - title: What about Radiative Forcing?
        content: |
          CO<sub>2</sub> emissions is computed from the total fuel burnt during the flight.
          For ICAO one of ton of fuel leads to `3.16` tons of CO<sub>2</sub> emissions
          (this number accounts for the fuel burning itself and the prep-production and transport phase).

          A radiative forcing index of `1.9` is then applied as a multiplier
          to account for the fact that aviation contributes to climate change
          more than just from the emission of CO<sub>2</sub> 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 (CO<sub>2</sub>),
          ozone (O<sub>3</sub>), and methane (CH<sub>4</sub>);
          trigger formation of condensation trails (contrails);
          and may increase cirrus cloudiness;
          all of which contribute to climate change.
          1.9/2 is recommended by DEFRA and ADEME.
          ATMOSFAIR considers a multiplier of 3, for all emissions above 9000 km.
          ICAO, on the other hand does not include a multiplier,
          waiting for the scientific community to settle on a value.
          So 1.9 seems reasonable, but keep in mind that it comes with some uncertainty.
          You may want to select the ATMOSFAIR forcing index,
          instead of the 1.9 constant.
          The multiplier reaches about 2.8 for flights longer than 5000 km.

      - title: Which seat category are you considering?
        content: |
          I am considering only economy seats for the time being.
          Note that DEFRA emission factors are a factor of 3 larger for business class seat
          (which occupy a larger area in the plane).
          A factor of 1.5 should be considered when flying on Premium economy seats
          (ICAO would consider a factor of 2).

      - title: What about uncertainties?
        content: |
          I believe that each estimate has an uncertainty between 10 and 25%
          (really this is a best guess, and not substantiated by any statistical analysis and it could be more probably),
          the uncertainty being smaller for shorter flights for which there are more data.
          I would therefore refrain from using the numbers derived as absolute values.
          The results given should be considered indicative, although likely in the right ball park,
          for the assumptions that I make, and the approximation I use,
          e.g. in fitting ICAO and ATMOSFAIR data.
          For flights of average distance less than a few thousands kilometers,
          the results agree reasonably well, between the various estimators,
          which is a good sign.
          Larger differences are found when long distance flights are considered.
          In all cases, the estimates can be used for relative comparisons.

    # Third row, etc.
    - blocks:

      - title: Considering train travel for short travel distance
        content: |
          There is a minimum distance (by default 300 km)
          under which the calculator excludes flight travel.
          The calculator proposes instead to compute the travel footprint associated with train.
          The French emission factors are between 4 and 5 grams of CO2eq per km per passenger.
          This low value is likely due to the fact that electricity is provided by nuclear plants.
          It is larger by some factor accross Europe.
          Here I am assuming that the French factor are multiplied by a factor of 5.
          This makes train typically 10% less emitting than plane (including radiative forcing).

      - title: Additional resources
        content: |
          - Offset your flight with [atmosfair](https://www.atmosfair.de/en/offset/flight)
          - [ADEME](https://www.ecologique-solidaire.gouv.fr/sites/default/files/Info%20GES_Guide%20m%C3%A9thodo.pdf)
            (French Environment & Energy Management Agency)
          - [DEFRA](https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2019)
            emission conversion factors 2019
          - [DGAC](https://eco-calculateur.dta.aviation-civile.gouv.fr)
            Direction Générale de l'Aviation Civile
          - [ICAO](https://www.icao.int/environmental-protection/carbonoffset/pages/default.aspx)
            Carbon Emissions Calculator
          - L. Hackel [travel footprint calculator](https://lhackel.shinyapps.io/travel_footprint/)
            based on DEFRA emission factors

      - content: |
          ### Disclaimer

          I am obviously not a carbon footprint authority.
          I provide this as a service to members of the science community
          to get some ideas of travel footprints associated with scientific projects and activities.

          ### Confidentiality

          The data provided will remain confidential, as will be the results.

          There is a minimum distance (by default 300 km)
          under which the calculator excludes flight travel.
          The calculator proposes instead to compute the travel footprint associated with train.
          The French emission factors are between 4 and 5 grams of CO2eq per km per passenger.
          This low value is likely due to the fact that electricity is provided by nuclear plants.
          It is larger by some factor accross Europe.
          Here I am assuming that the French factor are multiplied by a factor of 5.
          This makes train typically 10% less emitting than plane (including radiative forcing).


estimate:
  hero:
    title: Request an estimation
    description: |
      The results will be sent to the email address you provided,
      once they are available.
      <br>
      It may take from a few minutes up to a few hours,
      depending on the amount of locations you provided.
8ee9f4a9   Antoine Goutenoir   Add additional co...
341
342


28f7c8ff   Goutte   Add more content....
343
344
345
346
347
348
349
350
351
  # Labels accept HTML, but not markdown
  # Descriptions accept neither, since we use the HTML title attribute
  form:
    email:
      label: Email Address
      description: Make sure you provide a valid address or you won't receive the results!
    first_name:
      label: First Name
      description: Also known as given name, eg. `Didier`.
f47a875d   Antoine Goutenoir   Remove the email ...
352
      placeholder: Antoine
28f7c8ff   Goutte   Add more content....
353
354
355
    last_name:
      label: Last Name
      description: Also known as family name, eg. `Barret`.
f47a875d   Antoine Goutenoir   Remove the email ...
356
      placeholder: Goutenoir
28f7c8ff   Goutte   Add more content....
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
    institution:
      label: Institution / Enterprise
      description: If any?
    comment:
      label: Leave a comment
      description: Any input is appreciated.  Everyone's a critic.
    origin_addresses:
      label: Origin Cities
      description: |
        One address per line, in the form `City, Country`.
        Make sure your addresses are correctly spelled.
      placeholder: |
        Paris, France
        Berlin, Germany
    destination_addresses:
      label: Destination Cities
      description: |
        One address per line, in the form `City, Country`.
        Make sure your addresses are correctly spelled.
      placeholder: |
        Washington, United States of America
    compute_optimal_destination:
      label: |
        Compute the destination city that will minimize emissions <br>
        (useful when setting up a meeting/conference)
      description: |
        We will only look through Cities specified in the Destination Cities.
    use_atmosfair_rfi:
      label: |
        Use the <acronym title="Radiative Forcing Index">RFI</acronym>
        multiplier recommended by <a href="https://www.atmosfair.de">atmosfair</a>
        (i.e. <code>3</code> for all emissions above <code>9km</code>)
        <br>
        For long flights, the multiplier may reach <code>2.8</code> or so.
        Otherwise, by default, <code>1.9</code> will be used.
      description: |
        We will only look through Cities specified in the Destination Cities.

8ee9f4a9   Antoine Goutenoir   Add additional co...
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
estimate_queue:
  hero:
    title: Please wait…
    description: |
      Your estimation is being computed.
      This may take several minutes.
      <br>
      This webpage will automatically update when it is done.

estimation:
  hero:
    title: Your estimation is now available!
    description: |
      Thank you for using our service.
      <br>
      Bookmark this webpage, it is private and unlisted.
  failure:
    hero:
      title: Your estimation has failed!
      description: |
        Sorry about that.  Please find the error message below.
        <br>
        Thank you for using our service.
28f7c8ff   Goutte   Add more content....
418
419
420

footer:
  credits: |
8ee9f4a9   Antoine Goutenoir   Add additional co...
421
    Didier Barret © 2019