Commit 77ffadab20fc391fb070aa611ae0a0a9bc5aff85
1 parent
77e86148
Exists in
master
Add a second (dummy) model, to test.
Showing
1 changed file
with
32 additions
and
0 deletions
Show diff stats
content.yml
... | ... | @@ -37,6 +37,38 @@ models: |
37 | 37 | connecting_flights_scale: 1.05 |
38 | 38 | # Radiative Forcing Index |
39 | 39 | # Multiplier after scaling |
40 | + rfi: 1.0 | |
41 | + # Flat scalar to add before scaling with laws | |
42 | + offset_before: 0 | |
43 | + # Flat scalar to multiply before scaling with laws | |
44 | + scale_before: 1 | |
45 | + # The travel_emission_lerp_fit uses points instead of intervals | |
46 | + # List of (distance in km, footprint in ??) | |
47 | + points: | |
48 | + - [ 300.0, 120.42928309 ] | |
49 | + - [ 1500.0, 278.88301355 ] | |
50 | + - [ 2500.0, 438.31863895 ] | |
51 | + - [ 20000.0, 3335.62849772 ] | |
52 | + - name: MyClimate with RFI=1.9 | |
53 | + # Slugged version of the display name above | |
54 | + # Only lowercase alphanumeric, starting with a letter, using - as liaison | |
55 | + # In other words, MUST match ^[a-z]([a-z0-9-]*[a-z0-9])?$ eg: icao-with-rfi | |
56 | + # MUST be unique, two models MUST NOT have the same slug. | |
57 | + slug: my-climate-rfi | |
58 | + # There MUST exist a python file named like this in `flaskr/laws` | |
59 | + # And it MUST contain a class named EmissionModel | |
60 | + # Please keep this lowercased, letters-only (or I will breathe fire) | |
61 | + file: travel_emission_lerp_fit | |
62 | + # Color MUST be in the hex form, without alpha | |
63 | + color: "#ff9933" | |
64 | + # The configuration that will be fed to the model. | |
65 | + # May be anything, really. Go bonkers! | |
66 | + config: | |
67 | + plane_emission_linear_fit: | |
68 | + # A coefficient applied to the distance | |
69 | + connecting_flights_scale: 1.05 | |
70 | + # Radiative Forcing Index | |
71 | + # Multiplier after scaling | |
40 | 72 | rfi: 1.9 |
41 | 73 | # Flat scalar to add before scaling with laws |
42 | 74 | offset_before: 0 | ... | ... |