Commit 4e47450d73c19a312ab4fc893444ffd0681ee065

Authored by Didier BARRET
1 parent da55ef2d
Exists in master

Reordering of ADEME before myclimate

Showing 1 changed file with 43 additions and 42 deletions   Show diff stats
@@ -59,48 +59,6 @@ models: @@ -59,48 +59,6 @@ models:
59 - [ 19999.9, 5606.129335551792 ] 59 - [ 19999.9, 5606.129335551792 ]
60 - [ 25000.0, 7094.270252762378 ] 60 - [ 25000.0, 7094.270252762378 ]
61 61
62 -  
63 - - name: MyClimate (RFI=2)  
64 - # Slugged version of the display name above  
65 - # Only lowercase alphanumeric, starting with a letter, using - as liaison  
66 - # In other words, MUST match ^[a-z]([a-z0-9-]*[a-z0-9])?$ eg: icao-with-rfi  
67 - # MUST be unique, two models MUST NOT have the same slug.  
68 - slug: my-climate-rfi  
69 - # There MUST exist a python file named like this in `flaskr/laws`  
70 - # And it MUST contain a class named EmissionModel  
71 - # Please keep this lowercased, letters-only (or I will breathe fire)  
72 - file: travel_emission_lerp_fit  
73 - # Color MUST be in the hex form, without alpha  
74 - color: "#99ff33"  
75 - # Whether this model is selected by default in the list.  
76 - selected: true  
77 - # The configuration that will be fed to the model.  
78 - # May be anything, really. Go bonkers!  
79 - config:  
80 - plane_emission_linear_fit:  
81 - # A coefficient applied to the distance  
82 - connecting_flights_scale: 1.05  
83 - # Radiative Forcing Index  
84 - # Multiplier after scaling  
85 - # DEPRECATED  
86 - rfi: 1.0  
87 - # Flat scalar to add before scaling with laws  
88 - offset_before: 95  
89 - # Flat scalar to multiply before scaling with laws  
90 - scale_before: 1  
91 - # The travel_emission_lerp_fit uses points instead of intervals  
92 - # List of (distance in km, footprint in kg)  
93 - points:  
94 - - [0.0, 0.0 ]  
95 - - [299.9, 0.0 ]  
96 - - [300.0, 120.42928309599999 ]  
97 - - [1499.9, 278.86980907246215 ]  
98 - - [1500.0, 278.8830135500002 ]  
99 - - [2499.9, 438.3026953954595 ]  
100 - - [2500, 438.3186389580005 ]  
101 - - [19999.9, 3335.611941663665 ]  
102 - - [25000.0, 4163.431314509144 ]  
103 -  
104 - name: ADEME (RFI=2.0) 62 - name: ADEME (RFI=2.0)
105 # Slugged version of the display name above 63 # Slugged version of the display name above
106 # Only lowercase alphanumeric, starting with a letter, using - as liaison 64 # Only lowercase alphanumeric, starting with a letter, using - as liaison
@@ -162,6 +120,49 @@ models: @@ -162,6 +120,49 @@ models:
162 - [25000.0, 5596.388888888889 ] 120 - [25000.0, 5596.388888888889 ]
163 121
164 122
  123 +
  124 + - name: MyClimate (RFI=2)
  125 + # Slugged version of the display name above
  126 + # Only lowercase alphanumeric, starting with a letter, using - as liaison
  127 + # In other words, MUST match ^[a-z]([a-z0-9-]*[a-z0-9])?$ eg: icao-with-rfi
  128 + # MUST be unique, two models MUST NOT have the same slug.
  129 + slug: my-climate-rfi
  130 + # There MUST exist a python file named like this in `flaskr/laws`
  131 + # And it MUST contain a class named EmissionModel
  132 + # Please keep this lowercased, letters-only (or I will breathe fire)
  133 + file: travel_emission_lerp_fit
  134 + # Color MUST be in the hex form, without alpha
  135 + color: "#99ff33"
  136 + # Whether this model is selected by default in the list.
  137 + selected: true
  138 + # The configuration that will be fed to the model.
  139 + # May be anything, really. Go bonkers!
  140 + config:
  141 + plane_emission_linear_fit:
  142 + # A coefficient applied to the distance
  143 + connecting_flights_scale: 1.05
  144 + # Radiative Forcing Index
  145 + # Multiplier after scaling
  146 + # DEPRECATED
  147 + rfi: 1.0
  148 + # Flat scalar to add before scaling with laws
  149 + offset_before: 95
  150 + # Flat scalar to multiply before scaling with laws
  151 + scale_before: 1
  152 + # The travel_emission_lerp_fit uses points instead of intervals
  153 + # List of (distance in km, footprint in kg)
  154 + points:
  155 + - [0.0, 0.0 ]
  156 + - [299.9, 0.0 ]
  157 + - [300.0, 120.42928309599999 ]
  158 + - [1499.9, 278.86980907246215 ]
  159 + - [1500.0, 278.8830135500002 ]
  160 + - [2499.9, 438.3026953954595 ]
  161 + - [2500, 438.3186389580005 ]
  162 + - [19999.9, 3335.611941663665 ]
  163 + - [25000.0, 4163.431314509144 ]
  164 +
  165 +
165 - name: DEFRA (RFI=1.9) 166 - name: DEFRA (RFI=1.9)
166 # Slugged version of the display name above 167 # Slugged version of the display name above
167 # Only lowercase alphanumeric, starting with a letter, using - as liaison 168 # Only lowercase alphanumeric, starting with a letter, using - as liaison