samuelrince commited on
Commit
277e7b2
ยท
1 Parent(s): 0ebc358

feat: add equivalents docs

Browse files
Files changed (2) hide show
  1. src/content.py +55 -9
  2. src/utils.py +4 -4
src/content.py CHANGED
@@ -177,29 +177,75 @@ Finally here are the **main hypotheses** we have made to compute the impacts.
177
 
178
  ## Equivalents
179
 
180
- ### ๐Ÿšถโ€โ™‚๏ธโ€โžก๏ธ Walking or ๐Ÿƒโ€โ™‚๏ธโ€โžก๏ธ running distance
 
181
 
182
- ๐Ÿ”ด TODO
183
 
184
- ### ๐Ÿ”‹ Electric Vehicle distance
185
 
186
- ๐Ÿ”ด TODO
187
 
188
- ### โฏ๏ธ Streaming time
 
 
189
 
190
- ๐Ÿ”ด TODO
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
 
192
  ### Number of ๐Ÿ’จ wind turbines or โ˜ข๏ธ nuclear plants
193
 
194
- ๐Ÿ”ด TODO
 
 
 
 
 
 
195
 
196
  ### Multiplier of ๐Ÿ‡ฎ๐Ÿ‡ช Ireland electricity consumption
197
 
198
- ๐Ÿ”ด TODO
 
 
 
 
199
 
200
  ### Number of โœˆ๏ธ Paris โ†” New York City flights
201
 
202
- ๐Ÿ”ด TODO
 
 
 
 
203
 
204
  **If you are motivated to help us test and enhance this methodology
205
  [contact us](https://genai-impact.org/contact/)!** ๐Ÿ’ช
 
177
 
178
  ## Equivalents
179
 
180
+ We have integrated impact equivalents to help people better understand the impacts and have reference points for
181
+ standard use cases and everyday activities.
182
 
183
+ ### Request impacts
184
 
185
+ These equivalents are computed based on the request impacts only.
186
 
187
+ #### ๐Ÿšถโ€โ™‚๏ธโ€โžก๏ธ Walking or ๐Ÿƒโ€โ™‚๏ธโ€โžก๏ธ running distance
188
 
189
+ We compare the โšก๏ธ direct energy consumption with the energy consumption of someone ๐Ÿšถโ€โ™‚๏ธโ€โžก๏ธ walking or ๐Ÿƒโ€โ™‚๏ธโ€โžก๏ธ running.
190
+ From [runningtools.com](https://www.runningtools.com/energyusage.htm) we consider the following energy values per
191
+ physical activity (for someone weighing 70kg):
192
 
193
+ * ๐Ÿšถโ€โ™‚๏ธโ€โžก๏ธ walking: $ 196\ kJ/km $ (speed of $ 3\ km/h $)
194
+ * ๐Ÿƒโ€โ™‚๏ธโ€โžก๏ธ running: $ 294\ kJ/km $ (speed of $ 10\ km/h $)
195
+
196
+ We divide the request energy consumption by these values to compute the distance traveled.
197
+
198
+ #### ๐Ÿ”‹ Electric Vehicle distance
199
+
200
+ We compare the โšก๏ธ direct energy consumption with the energy consumer by a EV car. From
201
+ [selectra.info](https://selectra.info/energie/actualites/insolite/consommation-vehicules-electriques-france-2040) or
202
+ [tesla.com](https://www.tesla.com/fr_fr/support/power-consumption) we consider an average value of energy consumed per
203
+ kilometer of: $ 0.17\ kWh/km $.
204
+
205
+ We divide the request energy consumption by this value to compute the distance driven by an EV.
206
+
207
+ #### โฏ๏ธ Streaming time
208
+
209
+ We compare the ๐ŸŒ GHG emissions of the request and of streaming a video. From
210
+ [impactco2.fr](https://impactco2.fr/outils/comparateur?value=1&comparisons=streamingvideo), we consider that
211
+ $ 1\ kgCO2eq $ is equivalent to $ 15.6\ h $ of streaming.
212
+
213
+ We multiply that value by the GHG emissions of the request to get an equivalent in hours of video streaming.
214
+
215
+ ### Scaled impacts
216
+
217
+ These equivalents are computed based on the request impacts scaled to a worldwide adoption use case. We imply that the
218
+ same request is done 1% of the planet everyday for 1 year, and then compute impact equivalents.
219
+
220
+ $$
221
+ I_{scaled} = I_{request} * [1 \\% \ \text{of}\ 8B\ \text{people on earth}] * 365\ \text{days}
222
+ $$
223
 
224
  ### Number of ๐Ÿ’จ wind turbines or โ˜ข๏ธ nuclear plants
225
 
226
+ We compare the โšก๏ธ direct energy consumption (scaled) by the energy production of wind turbines and nuclear power
227
+ plants. From [ecologie.gouv.fr](https://www.ecologie.gouv.fr/eolien-terrestre) we consider that a $ 2\ MW $ wind
228
+ turbine produces $ 4.2\ GWh $ a year. And from [edf.fr](https://www.edf.fr/groupe-edf/espaces-dedies/jeunes-enseignants/pour-les-jeunes/lenergie-de-a-a-z/produire-de-lelectricite/le-nucleaire-en-chiffres)
229
+ we learn that a $ 900\ MW $ nuclear power plant produces $ 6\ TWh $ a year.
230
+
231
+ We divide the scaled energy consumption by these values to get the number of wind turbines or nuclear power plants
232
+ needed.
233
 
234
  ### Multiplier of ๐Ÿ‡ฎ๐Ÿ‡ช Ireland electricity consumption
235
 
236
+ We compare the โšก๏ธ direct energy consumption (scaled) by the electricity consumption of Ireland per year. From
237
+ [wikipedia.org](https://en.wikipedia.org/wiki/List_of_countries_by_electricity_consumption) we consider the Ireland
238
+ electricity consumption to be $ 33\ TWh $ a year for a population of 5M.
239
+
240
+ We divide the scaled energy consumption by this value to get the equivalent number of "Ireland countries".
241
 
242
  ### Number of โœˆ๏ธ Paris โ†” New York City flights
243
 
244
+ We compare the ๐ŸŒ GHG emissions (scaled) of the request and of a return flight Paris โ†” New York City. From
245
+ [impactco2.fr](https://impactco2.fr/outils/comparateur?value=1&comparisons=&equivalent=avion-pny) we consider that a
246
+ return flight Paris โ†’ New York City โ†’ Paris emits $ 1770\ kgCO2eq $ with an average passenger load of 101-220.
247
+
248
+ We divide the scaled GHG emissions by this value to get the equivalent number of return flights.
249
 
250
  **If you are motivated to help us test and enhance this methodology
251
  [contact us](https://genai-impact.org/contact/)!** ๐Ÿ’ช
src/utils.py CHANGED
@@ -62,15 +62,15 @@ EV_ENERGY_EQ = q("0.17 kWh / km")
62
  # From https://impactco2.fr/outils/comparateur?value=1&comparisons=streamingvideo
63
  STREAMING_GWP_EQ = q("15.6 h / kgCO2eq")
64
 
65
- # For a 900 MW nuclear plant -> 500 000 MWh / month
66
- # From https://www.edf.fr/groupe-edf/espaces-dedies/jeunes-enseignants/pour-les-jeunes/lenergie-de-a-a-z/produire-de-lelectricite/le-nucleaire-en-chiffres
67
- YEARLY_NUCLEAR_ENERGY_EQ = q("6 TWh")
68
-
69
  # From https://ourworldindata.org/population-growth
70
  ONE_PERCENT_WORLD_POPULATION = 80_000_000
71
 
72
  DAYS_IN_YEAR = 365
73
 
 
 
 
 
74
  # For a 2MW wind turbine
75
  # https://www.ecologie.gouv.fr/eolien-terrestre
76
  YEARLY_WIND_ENERGY_EQ = q("4.2 GWh")
 
62
  # From https://impactco2.fr/outils/comparateur?value=1&comparisons=streamingvideo
63
  STREAMING_GWP_EQ = q("15.6 h / kgCO2eq")
64
 
 
 
 
 
65
  # From https://ourworldindata.org/population-growth
66
  ONE_PERCENT_WORLD_POPULATION = 80_000_000
67
 
68
  DAYS_IN_YEAR = 365
69
 
70
+ # For a 900 MW nuclear plant -> 500 000 MWh / month
71
+ # From https://www.edf.fr/groupe-edf/espaces-dedies/jeunes-enseignants/pour-les-jeunes/lenergie-de-a-a-z/produire-de-lelectricite/le-nucleaire-en-chiffres
72
+ YEARLY_NUCLEAR_ENERGY_EQ = q("6 TWh")
73
+
74
  # For a 2MW wind turbine
75
  # https://www.ecologie.gouv.fr/eolien-terrestre
76
  YEARLY_WIND_ENERGY_EQ = q("4.2 GWh")