Commit 976595a3010ff3d9192180a8f185be4bf0664376

Authored by Didier BARRET
1 parent 01eeef03
Exists in master

Added the French ministry to test.

Showing 1 changed file with 59 additions and 0 deletions   Show diff stats
content.yml
... ... @@ -204,6 +204,65 @@ models:
204 204 - [19999.9, 2878.9047733493503 ]
205 205 - [25000.0, 3596.0006143105275 ]
206 206  
  207 + - name: French Ministry for the Ecological and Inclusive Transition (no RF, not recommended)
  208 + # Slugged version of the display name above
  209 + # Only lowercase alphanumeric, starting with a letter, using - as liaison
  210 + # In other words, MUST match ^[a-z]([a-z0-9-]*[a-z0-9])?$ eg: icao-with-rfi
  211 + # MUST be unique, two models MUST NOT have the same slug.
  212 + slug: fr-ministry-ecology-no-rfi
  213 + # There MUST exist a python file named like this in `flaskr/laws`
  214 + # And it MUST contain a class named EmissionModel
  215 + # Please keep this lowercased, letters-only (or I will breathe fire)
  216 + file: travel_emission_lerp_fit
  217 + # Color MUST be in the hex form, without alpha
  218 + color: "#3399ff"
  219 + # Whether this model is selected by default in the list.
  220 + selected: true
  221 + # The configuration that will be fed to the model.
  222 + # May be anything, really. Go bonkers!
  223 + config:
  224 + plane_emission_linear_fit:
  225 + # A coefficient applied to the distance
  226 + connecting_flights_scale: 1.05
  227 + # Radiative Forcing Index
  228 + # Multiplier after scaling
  229 + # DEPRECATED
  230 + rfi: 1.0
  231 + # Flat scalar to add before scaling with laws
  232 + offset_before: 0
  233 + # Flat scalar to multiply before scaling with laws
  234 + scale_before: 1
  235 + # The travel_emission_lerp_fit uses points instead of intervals
  236 + # List of (distance in km, footprint in kg)
  237 + points:
  238 + - [0.0, 0.0 ]
  239 + - [299.9, 0.0 ]
  240 + - [300.0, 103.02499999999998 ]
  241 + - [999.9, 158.492075 ]
  242 + - [1000.0, 158.50000000000003 ]
  243 + - [1999.9, 250.32414999999997 ]
  244 + - [2000, 250.33333333333326 ]
  245 + - [2999.9, 301.9948333333333 ]
  246 + - [3000, 302.0000000000004 ]
  247 + - [3999.9, 447.9854000000004 ]
  248 + - [4000, 448.0000000000002 ]
  249 + - [4999.9, 587.48605 ]
  250 + - [5000, 587.4999999999999 ]
  251 + - [5999.9, 608.9978499999997 ]
  252 + - [6000, 609.0000000000002 ]
  253 + - [6999.9, 629.9979000000001 ]
  254 + - [7000, 629.9999999999999 ]
  255 + - [7999.9, 719.9909999999996 ]
  256 + - [8000, 720.0000000000002 ]
  257 + - [8999.9, 760.4959500000004 ]
  258 + - [9000, 760.4999999999997 ]
  259 + - [9999.9, 864.9895499999997 ]
  260 + - [10000, 865.0000000000005 ]
  261 + - [10999.9, 1039.482549999999 ]
  262 + - [11000, 1035.9000000000015 ]
  263 + - [19999.9, 1879.1906300000016 ]
  264 + - [25000.0, 2347.7000000000016 ]
  265 +
207 266 - name: KLM data (no RF, not recommended)
208 267 # Slugged version of the display name above
209 268 # Only lowercase alphanumeric, starting with a letter, using - as liaison
... ...