Releases: GermanZero-de/localzero-generator-core
v2.1.0
What's Changed
Better modelling
- Update traffic air and ships with community specific data by @simonfi1337 in #381
Model bugfixes
- Cycl foot bugfix by @bgrundmann in #378
- Industry ratio dehst ner by @bgrundmann in #386
- Bugfixes for area calculation by @bgrundmann in #387
- Fix mixing calcs germany: e30.p_fossil.change_CO2e_pct, e30.p_renew_reverse.change_CO2e_pct by @Jeniffere in #361
Refactoring
- Split inputs by @Jeniffere in #354
- Entries by @Jeniffere in #355
- Electricity2030: energy_general by @Jeniffere in #356
- Electricity2030: extract energy_demand in core by @Jeniffere in #357
- Electricity2030 refactoring by @Jeniffere in #358
- Electricity2030 refactoring by @Jeniffere in #360
Tooling improvements and changes in preparation of the reference data update for 2021
- This is a basic readthedocs config file. by @bgrundmann in #359
- Some code to process destatis area changes by @bgrundmann in #363
- Dissolutions can have parts too. by @bgrundmann in #364
- Update production.json to use newer data/public by @bgrundmann in #366
- Use the fixed version of data/public. by @bgrundmann in #367
- Use the latest version of the data/public (mostly new facts) by @bgrundmann in #368
- Formulas instead of derived facts by @bgrundmann in #362
- Tooling to transplant 2018 data into the more recent past. by @bgrundmann in #365
- Use ags history to update data by @bgrundmann in #370
- general reference year + farmed soil loss organic on the state level for 2021 and beyond by @bgrundmann in #371
- Introduce m_year_ref in Entries by @bgrundmann in #372
- Derived assumptions by @bgrundmann in #373
- Use data public without any facts / assumptions that are derived. by @bgrundmann in #376
- New derived facts + code to select data frames by reference year (year_ref) by @bgrundmann in #379
- Facts 2021 by @bgrundmann in #380
- A command to diff two data files on a single float column. by @bgrundmann in #382
- Factor out the year_ref argument parser by @bgrundmann in #383
- Display derived facts in the explorer. by @bgrundmann in #384
- Enable running both 2018 and 2021 by @bgrundmann in #385
- update version number by @bgrundmann in #388
New Contributors
- @simonfi1337 made their first contribution in #381
Full Changelog: v2.0.0...v2.1.0
Waste and Industry
Highlights
- Commune fine industry data. We now use data by the DEHST to distribute all the major industries to the relevant AGS. This can cause big changes in the industry data.
- Waste. We know model organic waste treatment and landfilling.
What's Changed
Auto generated
- Heat2030 step3 - and common G, GConsult by @Jeniffere in #309
- First FAQ checkin by @Ultramarin95 in #310
- Heat2030 Refactoring Step4 by @Jeniffere in #311
- Heat2030 Refactoring Step5 by @Jeniffere in #312
- No public transport at all is not an option by @bgrundmann in #314
- Error's in RPCS should be caught. by @bgrundmann in #317
- Heat2030 Refactoring Step6 by @Jeniffere in #318
- Update setup instructions by @51moon in #316
- Better error message when bad data is read. by @bgrundmann in #319
- Naming conventions by @Jeniffere in #320
- Naming conventions by @Jeniffere in #322
- Heat2030 - main refactoring - finished by @Jeniffere in #323
- Refactoring common by @Jeniffere in #324
- Update setup instructions for Linux machines by @51moon in #325
- Poetry update by @Jeniffere in #321
- minimize use of Any by @Jeniffere in #326
- Refactoring co2e change by @Jeniffere in #327
- Business2018 Refactoring Energy Demand by @Jeniffere in #329
- Update to the latest pyright. by @bgrundmann in #330
- Business2018 Refactoring Energy Source by @Jeniffere in #331
- Calculate industry per region by @JanLK in #328
- Cleanup by @bgrundmann in #333
- Remove pct energy by @Jeniffere in #332
- Mixed Refactoring by @Jeniffere in #334
- Remove pct energy from electricity2030 by @Jeniffere in #335
- update public data by @Jeniffere in #336
- Waste by @Ultramarin95 in #315
- Refactor common dataclasses by @Jeniffere in #337
- Fixed typo change_CO2_pct -> change_CO2e_pct by @bgrundmann in #338
- 2018: extract energy_base by @Jeniffere in #339
- Use the same computation to compute geothermal renewables for Germany and municipalities. by @bgrundmann in #340
- Fossil fuel based electricity computation for Germany by @bgrundmann in #341
- More refactoring of electricity germany by @bgrundmann in #342
- A few minor comments on waste. by @bgrundmann in #343
- Refactor electricity again by @bgrundmann in #344
- use just float e30_p_local_biomass_cogen_energy in heat2030 by @Jeniffere in #345
- Refactor budget script by @Ultramarin95 in #348
- Methodology waste adapt by @Ultramarin95 in #347
- Split facts and assumptions by @Jeniffere in #346
- Explorer show metadata for facts and assumptions by @bgrundmann in #350
- Waste electricity demand in fuels by @Ultramarin95 in #349
- Highlight on click in classic table and smaller fonts. by @bgrundmann in #351
Full Changelog: v1.5.2...v2.0a
v1.5.2
Nothing new featurewise in the climatevision itself.
On the cleanup front we continue to make steady progress.
- Poetry update by @Jeniffere in #292
- Heat2018 energy demand by @Jeniffere in #293
- Refactor heat2018 by @Jeniffere in #296
- Use latest version of public (where facts have links) by @bgrundmann in #297
- Heat2018 dataclasses by @Jeniffere in #301
- industry2018 move to common structure by @Jeniffere in #303
- Transport structure by @Jeniffere in #304
- Heat2030 by @Jeniffere in #306
- Heat2030 refactor energy_general by @Jeniffere in #307
The explorer has gained some minor additional functionality.
- Various minor improvements by @bgrundmann in #298
- Bugfix AGS filter. Plus minor layout tweak. by @bgrundmann in #299
- highlighting of path in user defined tables. by @bgrundmann in #305
Full Changelog: v1.5.1...v1.5.2
v1.5.1 fix pyproject.toml
What's Changed
- I forgot to update the version in pyproject.toml. Do this. by @bgrundmann in #291
Full Changelog: v1.5.0...v1.5.1
Tracing on a per rpc level
What's Changed
- Make it so that tracing can be enabled / disabled at will by @bgrundmann in #288
- Change the explorer to not have the hostname / port hardcoded. by @bgrundmann in #289
- Tracing on a per RPC level. by @bgrundmann in #290
Full Changelog: v1.4.0...v1.5.0
A rpc for overrides
What's Changed
- Move overridables rpc into climatevision server by @bgrundmann in #287
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's Changed
In broad strokes:
- Refactoring / comments to improve the code
- Various small fixes to calculations / datasets
- We renamed the package it's now called
climatevision
instead ofgeneratorcore
. And that top-level packageclimatevision
contains a sub package calledgenerator
which contains the calculation. - Some of the code that we so far only used in the
devtool.py
will in the future be shared between the website offering of the Klimavision and thedevtool.py
. For that those modules are moved / will be moved into appropriate sub packages ofclimatevision
:climatevision.server
which containsrpcs.py
, which implements JSONRPCs.climatevision.tracing
the ability to record a trace of the calculation as it is done.
- The explorer has learned to visualise tracings
Calculation fixes
- Change bisko calculation by @Ultramarin95 in #259
- Use fixed version of the data/facts file by @bgrundmann in #268
Refactoring / Comments
- Put a comment on top of every sector with a link to the matching part in readthedocs by @51moon in #254
- Remove empty dataclasses by @51moon in #255
- Agri2030 part1 by @Jeniffere in #256
- Agri2030 part2 by @Jeniffere in #257
- Agri2030 part3 by @Jeniffere in #258
- Update to latest version of pyright (for the bugfix) by @bgrundmann in #263
- Electricity7 by @bgrundmann in #261
- Electricity8 by @bgrundmann in #264
- Electricity9 -- remove a bunch of not at all populated sections from e30 by @bgrundmann in #266
- Electricity10 -- factor out p_fossil computation (includes a BUGFIX) by @bgrundmann in #267
- Dataclasses kw only by @Jeniffere in #269
- E30 dataclass by @Jeniffere in #270
- Move agri2018 and agri20130 code to subfolders energy_demand, energy_source, energy_general by @Jeniffere in #271
- Unify imports by @Jeniffere in #274
- New toplevel structure and package name: climatevision by @bgrundmann in #278
- unify imports for explorer by @Jeniffere in #276
- Fuels to subfolders by @Jeniffere in #277
- A bunch of files were leftover in the recent refactoring + big merge conflict resolution dance. by @bgrundmann in #283
- Add list ags rpc by @bgrundmann in #284
- Add all to re-exported imports in climatevision.generator by @bgrundmann in #285
- bump version number before release. by @bgrundmann in #286
Better testing
- Command tests by @Jeniffere in #252
- Do not run update expectations as part of tests by @bgrundmann in #260
- Fix coverage tests by @bgrundmann in #279
Explorer / Tracing / Rpcs
- Trace -- The ability to trace the calculation in the explorer by @bgrundmann in #272
- Switch the explorer to use "proper" json-rpc as per the standard. by @bgrundmann in #273
- Move tracing by @bgrundmann in #280
- Move the rpc handler code into a subpackage (climatevision.server) by @bgrundmann in #281
- Some tests for the tracing feature. by @bgrundmann in #282
New Contributors
Full Changelog: v1.2.0...v1.3.0
v1.2.0
Summary
BISKO
The big feature is that we are now also able to compute values grouped as per the bisko standard. This is primarily useful to compare what we compute with potentially already existing models in a municipal district.
Cleanup / Documentation
As always we are slowly replacing / refactoring and adding documentation to the semi-automatically generated code.
Explorer
The big headline here is that the explorer tool has gained a user defined table "lens" into the data.
Bugfixes in the calculation
2018 fuel emissions were mislabed as production based, but should have been labelled as combustion based.
Automated list of changes
- Add new plot version by @RobinSchaefer in #225
- Update conf.py in docs by @RobinSchaefer in #226
- Electricity step 1 of ... by @bgrundmann in #229
- Handle a few more of the possible tree diffs by @bgrundmann in #230
- Electricity2 by @bgrundmann in #231
- Add bisko comparison by @Ultramarin95 in #228
- Electricity3 by @bgrundmann in #233
- Clean up nuclear by @bgrundmann in #234
- Electricity5 -- Energy demand first pass by @bgrundmann in #235
- Bugfix data lookup by @bgrundmann in #237
- Electricity6 by @bgrundmann in #238
- Extract main dataclass per sector by @Jeniffere in #239
- Explorer table by @bgrundmann in #240
- Explorer table delete rows or columns by @bgrundmann in #241
- Pyright strict by @Jeniffere in #242
- Copy to clipboard by @bgrundmann in #243
- Add rows colums by clicking by @bgrundmann in #244
- add Args by @Ultramarin95 in #247
- Support absolute path in tables by @bgrundmann in #249
- Fuel PB to CB change. by @Ultramarin95 in #246
- Added docstring draft to agri2018 and fuels2018 by @RobinSchaefer in #227
- Bugfix transport by @Ultramarin95 in #250
- Renaming a_t -> d_a by @Ultramarin95 in #245
Full Changelog: v1.1.0...v1.2.0
v1.1.0
In the library
Cleanup / Refactoring
We did another big round of cleanup / refactoring to clarify the calculation now that we are no longer bound to the structure given by excel. Concretely the following sectors have been cleaned up:
- industry
- agriculture
More to come.
EV
- Cleanup of renewable energy data
Better testing
We are now testing more AGS and also the result of make entries.
Outside the library
New Devtool explorer
A new tool to visualise the results of the calculation (in lieu of Excel).