forked from ProjectDrawdown/solutions
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathChangeLog
387 lines (323 loc) · 15.4 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
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
Sep 5 - 7, 2018
<code>/earth hackathon at the Internet Archive in San Francisco.
Initial commits to:
+ add a Heroku server app in Python
+ implement VBA-WEB in Excel
+ move the first set of calculations out of Excel and into Python
+ construct unit+integration tests
+ set up continuous integration & deployment
Sep 10 - 14, 2018
+ start/stop a flask server in excel integration test
+ make access to Excel more robust w/ retries for spurious failures
+ add a shell-based test to run a local flask server & check expected values
+ add Makefiles to run all tests and run pylint
+ add a ChangeLog to report progress
Sep 17 - 21, 2018
+ implemented the first two columns of the First Cost tab, end to end.
Recorded a video demonstrating the Excel side of this: https://youtu.be/-XvpqbkgytM
Recorded a video demonstrating test_excel_integration.py: https://youtu.be/HLL7HrFcmjc
+ WIP change to move Visual Basic code out of the Excel file and into
external *.bas files, in https://gitlab.com/codeearth/drawdown/tree/excel_files
Unfortunately after loading the basic code from external files, something
in Excel seems to become corrupted and the spreadsheet can no longer be
saved. It just gets an error.
We'll work on figuring out why, until then the CL cannot go into the tree.
Sep 24 - 28, 2018
+ completed the First Cost tab, end to end
+ draft software spec
https://docs.google.com/document/d/18nUKV-qltsaSD8kZd5gHswQu82Ot9rg19KIU8_eOisY/comment
Oct 1 - 5, 2018
+ implemented 80% of Unit Adoption module, 24 out of 30 tables.
Oct 8 - 12, 2018
+ completed Unit Adoption module
Video demonstrating the Unit Adoption module: https://youtu.be/FSANPCOt9zQ
+ incorporated feedback on draft software spec:
https://docs.google.com/document/d/18nUKV-qltsaSD8kZd5gHswQu82Ot9rg19KIU8_eOisY/comment
+ commenced development on Operating Cost module, ~10% done
Oct 15 - 19, 2018
+ sped up Excel population of results by at least 400%, by pausing
calculations at the start and re-enabling after all results have been
deserialized. Before and After video: https://youtu.be/O86W_sXxzKw
+ recorded video about the multiple levels of automated testing (unit,
integration, and system): https://youtu.be/ipZrQWuMU3w
+ more progress on Operating Cost.
implemented annual breakout table, added Excel integration test coverage.
Oct 22 - 26, 2018
+ implement 80% of the Operating Cost module.
+ implement more of the Emissions Factors module, preparing to start on co2calc.
Oct 29 - Nov 2, 2018
+ completed Operating Cost module.
+ completed Adoption Data module.
Nov 5 - 9, 2018
+ completed 50% of Helper Tables module.
+ start moving solarpvutil specifics out of model/* and into solution/*
+ experimenting with Jupyter notebook support (not checked into repo yet)
Nov 12 - 16, 2018
+ completed Helper Tables module.
+ completed CO2 Calcs and CH4 Calcs modules.
Nov 19 - 23, 2018
+ completed TAM Data module (which is quite large).
Nov 26 - 30, 2018
+ check in first Jupyter notebook, for solarpvutil.
+ fixes im tam.py: single source, PDS support.
Dec 17 - 21, 2018
+ Make unitadoption, helpertables, firstcost, operartingcost, co2calcs,
ch4calcs, & emissionsfactors be self-contained. Take all arguments
in the constructor, and add a to_dict() method to return all results.
This will remove the need for glue code in app.py, glue code which
would otherwise have to be duplicated for every solution using those
modules.
Dec 24 - 28, 2018
+ use the per-module to_dict() methods in app.py.
Remove the glue code for each module to call all of the functions and
assemble the response.
+ add a /solarpvutil endpoint, and make Excel use it.
This is an impactful change: Excel is no longer providing inputs to
the model, Excel is now solely used as an output to provide a way for
automated tests to compare the old and new implementations.
+ add a /solarpvroof endpoint, a second solution.
We do not have a SolarPVRooftop Excel file suitable for checking in,
test_excel_integration.py does not yet check this model. The more
basic tests in solution/test_solutions.py do test it.
Dec 31, 2018 - Jan 4, 2019
+ refactor TAM and group handling.
TAM data sources are widely shared between solutions, so they are now
centralized in data/*. The data has also been reorganized into one
CSV file for each source, allowing sources to be updated in a
straightforward way.
Move Ambitious/Baseline/Conservative handling into each solution, and
remove the original data_sources.py implementation.
+ add Variable Meta-Analysis module.
Combines and summarizes multiple data sources to a (mean, high, low)
tuple. These values provide guidance for setting appropriate values,
though human researcher review sets the value used in the model.
Jan 7 - 11, 2019
+ Support multiple scenarios.
Each solution generally contains a number of scenarios, which are
collections of inputs and assumptions. Add support for scenarios
within a solution by extending test_excel_integration.py to test
multiple scenarios within a solution. Aadd all six existing
scenarios to the solarpvutil solution.
+ remove per-module URL endpoints.
We use /operatingcost, /adoptiondata, etc earlier in the dev effort
but have now switched over to using /solarpvutil. Remove the code
and the test cases.
+ progress on Jupyter notebook
Added VMA, Detailed Results, and Operating Cost tabs with basic displays
of data.
Jan 14 - 18, 2019
+ all scenarios in two solutions
Implemented all six scenarios in each of the SolarPVUtil and SolarPVRoof
solutions, and made the Jupyter Notebook support display from multiple
solutions simultaneously.
+ improve performance via caching
all arguments are passed to __init__, functions on the models do not
take arguments. Therefore they will always return the same result, so
cache it. Speeds completion on integration test and Jupyter by 40%.
+ Support running via mybinder.org
Populate a binder directory to run from mybinder.org.
https://mybinder.org/v2/gl/codeearth%2Fdrawdown/master?urlpath=lab/tree/Drawdown.ipynb
Jan 21 - 25, 2019
+ implement two Land modules: aez.py and tla.py
AEZ = Agro-Ecological Zoning, classifying land area into zones for analysis.
TLA = Total Land Area, the total addressible market for land solutions.
This is a big step in supporting the Land solutions.
+ add scenario extraction in solution_xls_extract
Code generation from Excel files to create solutions. We intend to handle
most of the ~90 solutions via code generation not manual effort.
Jan 28 - Feb 1, 2019
+ add Custom Adoption, and global sequestration table in CO2Calcs
More module support for LAND solutions.
+ add ConcentratedSolar solution
Generated from Excel using tools/solution_xls_extract
+ fixes in regional data and NaN handling
Feb 4 - Feb 8, 2019
+ extend CO2Calcs for Land solutions
+ add LandfillMethane solution
Generated from Excel using tools/solution_xls_extract
+ UI: add Overview tab
Includes a solution list and a nested donut chart of solutions and
sectors, both sorted by CO2 reduction. Experiment with making the donut
chart interactive with a slider to control peak population estimate.
Feb 11 - Feb 15, 2019
+ Jupyter: reformat tables, add graphs
Polishing to support demos of the system.
+ Fix Excel VBAWEB after Mac Excel 16.16.7 update
Feb 18 - Feb 22, 2019
+ add solutions: MicroWind, Biomass, OnshoreWind, OffshoreWind.
+ fix small mismatches between Python & Excel
a) subtle difference in rounding
b) PDS and ref adoption in 2050 calculation
+ write code generation to extract Custom PDS Adoption data.
Feb 25 - Mar 1, 2019
+ Add solution/biogas
+ redo test_excel_integration to read Excel file directly.
Mar 4 - Mar 8, 2019
+ add Improved Cook Stoves, In-stream Hydro.
+ reimplement Excel integration test for robust operation.
+ fix small mismatches between Python & Excel
a) single_source only applies for trend
b) allow different source cases per region
Mar 11 - Mar 15, 2019
+ add Insulation, Solar Hot Water, Smart Thermostats.
+ re-implement Jupyter donut chart using Vega.
+ fix small mismatches between Python & Excel
a) tam: PDS uses 'World' forecast for 2012-2014
b) tam: don't include 0.0 in the mean
Mar 18 - Mar 22, 2019
+ add geo charts in Jupyter Adoption and TAM tabs.
+ implement logistic s-curve model support.
Mar 25 - Mar 29, 2019
+ add ten solutions.
Building Automation, Smart Glass, Alternative Cement,
Bioplastic, Telepresence, Airplanes, Electric Vehicles,
High Speed Rail, Ships, and Silvopasture (first LAND
solution).
+ implement Bass Diffusion S-Curve support.
+ fix small mismatches between Python & Excel
a) new_iunits_reqd threshold checking
b) repeated cost for iunits (RRS v1.1c and later)
Apr 1 - Apr 5, 2019
+ add eighteen solutions.
Bike Infrastructure, LEDs (Commercial), LEDs (Residential),
Refrigerant Management, Composting, Recycled Paper, Trains,
Water Efficiency, Carpooling, Trucks, District Heating,
Electric Bikes, Mass Transit, Walkable Cities, Water
Distribution, Wave and Tidal, plus Temperate Forests and
Tropical Forests.
+ fix small mismatches between Python & Excel
a) funit replacement checks current adoption
b) floating point ROUND() matching Excel, try #2
c) adoption & TAM support regional sums
Apr 8 - Apr 12, 2019
+ Add three solutions.
Forest Protection, Cool Roofs, Green Roofs.
+ UI: add graphical overview of how the modules connect
Apr 15 - Apr 19, 2019
+ Add ModelHealth dashboard with overall statistics about solution models.
+ Add four solutions
Tropical Tree Staples, Heat Pumps, Conservation Agriculture,
Regenerative Agriculture.
+ Fix small discrepancies between Python and Excel:
a) OperatingCost conversion factor
b) ignore first cost differences less than one penny
Apr 22 - Apr 26, 2019
+ Add eleven solutions
Improved Rice, Multistrata Agriculture, Bamboo, Tree Intercropping,
Managed Grazing, Afforestation, Nutrient Management, Irrigation
Efficiency, Peatlands.
+ Add chart of linearity of adoption data to ModelHealth.
Apr 29 - May 3, 2019
+ Add seven solutions
Rice Intensification, Cars, Nuclear, Indigenous Peoples' Land,
Perennial Bioenergy, Women Smallholders, Geothermal.
+ regenerate almost all solution afresh, using current tooling.
RRS solutions now have VMAs.
+ add first Ocean solution: Limited Bottom Trawling
May 6 - May 10, 2019
+ add Frizzle charts
https://codingrelic.geekhold.com/2019/05/ipyvolume-frizzle-charts.html
allows a denser information display of Adoption/TAM by region
+ initial work adding Land-specific data to ModelHealth.ipynb
May 13 - May 17, 2019
+ Getting Started links and resources
set up initial discourse site: discourse.geekhold.com
YouTube video: https://www.youtube.com/watch?v=cvnh1us8mfs
+ in-UI editing of VMA sources
supports cloud operation; set up several GCE instances
+ update CO2 results and graphs
May 20 - May 24, 2019
+ work was mostly outside of this codebase
setting up JupyterHub and Discourse.
May 27 - May 31, 2019
+ More work on cloud-hosted solution models
Discourse SSO from JupyterHub and gitlab.com OAuth:
https://gitlab.com/DentonGentry/discourse-gitlab-sso
customize the login screen, redirect straight to the Drawdown.ipynb file.
Jun 3 - Jun 7, 2019
+ Experimental support for regionalized first cost computation.
Jun 10 - Jun 14, 2019
+ initial work toward an Advanced Controls editor
editing widget showing VMA high/med/low, with data entry box.
+ convert advanced_controls Python object to a dataclass with defined fields.
Jun 17 - Jun 21, 2019
+ initial work on automatic land area allocation (for feedback)
+ connect variables to the VMAs backing them in RRS solutions (had already been done for Land)
+ move scenario definitions out of Python code and into JSON, to allow an editing UI
Jul 1 - Jul 5, 2019
+ regenerate all solutions to store their scenario definitions in JSON files
+ more work on RandkedAllocation, including static land area definitions.
Jul 8 - Jul 12, 2019
+ regenerate health dashboard data
+ initial version of ranked land allocation
Jul 15 - Jul 19, 2019
+ speed UI by not importing all solutions
+ make ipynb file work in Jupyter Notebook (for Voila)
Allow Drawdown.ipynb to be handled by https://github.com/QuantStack/voila
Jul 22 - Jul 26, 2019
+ single panel UI interface: list of solutions is now a tab
Allows Voila in production use, not requiring any code cell to be clicked.
+ update drawdown logo
Jul 29 - Aug 2, 2019
+ add pytest coverage metric
Aug 5 - Aug 9, 2019
+ rewrite test_excel_integration to pre-process excel, can now run in CI/CD.
+ mark more tests slow, only run with "make alltest" and in CI/CD
+ export code coverage metrics in https://codeearth.gitlab.io/drawdown/coverage/
Aug 12 - Aug 16, 2019
+ speed "make test" by marking more tests slow, add "make alltests" to run them.
+ add tests to areas identified by coverage report: tools, ocean model SVG,
Aug 19 - Aug 23, 2019
+ implement [FaIR](https://github.com/OMS-NetZero/FAIR) support in CO2Calcs.
+ add a Play the Whole Field animation, showing how achieving drawdown
requires more than just decarbonizing electricity generation.
Aug 26 - Aug 30, 2019
+ Jupyter Notebook + Voila support
work around [SVG issues in Notebook](https://github.com/ipython/ipython/issues/1866)
switch solutions.geekhold.com over to use Voila.
Sep 2 - Sep 6, 2019
+ Add Waste to Energy and Small Methane Biodigester solutions.
+ Fix metaclass_cache hashing, resolved TAM failure in test_excel_integration.py
+ fix CustomTLA support, and test all {temperate,tropical}forests scenarios.
Sep 9 - Sep 13, 2019
+ remove knowledge of the regions from model/tam.py
Sep 16 - Sep 21, 2019
+ Participated in Drawdown/Penn State Research to Action conference: https://drawdown.psu.edu/
See recording of session at
https://drawdown.psu.edu/event/workshop-1-drawdown-solution-model-sharing-current-state-co-designing-future-state
Sep 24 - Nov 29, 2019
+ work during this time focussed on Land solutions, developing a new process
to determine the amount of land suitable for the different Drawdown
solutions by analyzing datasets from satellite imagery. This work was
carried out in https://github.com/DentonGentry/gloh2o-org-map-processing
Dec 2 - Dec 6, 2019
+ begin updating model framework for the work of the 2019 research cohort.
Dec 9 - Dec 13, 2019
+ more work updating model framework for the work of the 2019 research cohort.
Dec 16 - Dec 20, 2019
+ compute FaIR results for emissions data from Excel models.
Dec 23 - Dec 27, 2019
+ finish work on FaIR results for emissions data from Excel models
Dec 30, 2019 - Jan 3, 2020
+ Implement framework support to share more data files between solutions,
particularly VMA data. All solutions will need to be re-generated from
Excel to do this.
Jan 6 - Jan 10, 2020
+ re-generate all solutions
VMA definitions moved inline into __init__.py.
Jan 13 - Jan 17, 2020
+ implement a play_the_whole_field animation from Excel emissions data.
+ begin fixing deprecated features for Pandas 1.0rc support.
Jan 20 - Jan 24, 2020
+ work on FaIR from Excel results, tools/excel_fair_results.py
Jan 27 - Jan 31, 2020
+ more work on FaIR from Excel results, tools/excel_fair_results.py
+ sort out git lfs migrate, to remove large Excel files from git object blob
Feb 3 - Feb 7, 2020
+ push project to https://github.com/ProjectDrawdown/solutions and work on CI
issues
+ previous Jupyterhub server ate itself, set up a new GCP VM and install
Jupyterhub
+ update project explanation videos for github location
Feb 10 - Feb 14, 2020
+ write CODE_OF_CONDUCT.md, CONTRIBUTING.md, zenodo support at github site