Skip to content

Commit 454171f

Browse files
authored
Merge pull request #736 from rl-institut/release/v0.5.4
Release/v0.5.4
2 parents fbec173 + 3d21b5f commit 454171f

File tree

147 files changed

+3582
-861
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+3582
-861
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343

4444
- name: Install pre-dependencies
4545
run: |
46+
sudo apt-get update
4647
sudo apt-get install coinor-cbc
4748
sudo apt-get install graphviz
4849
sudo apt-get install wkhtmltopdf

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,59 @@ Here is a template for new release sections
1919
-
2020
```
2121

22+
## [0.5.4] - 2020-12-18
23+
24+
### Added
25+
- Updated release protocol with info on credentials for test.pypi.org (step 9) and added "Fixed" to unreleased section of changelog.md in release protocol (#695)
26+
- Added information about the API to the docs (#701)
27+
- Added CO2 emission factors in the section `Model_Assumption.rst` (#697, #735)
28+
- Added `energyBusses.csv` in RTD (#678)
29+
- Add and link `rewableAsset` as parameter in RTD, specifically `MVS_parameters.rst` and `MVS_parameters_list.csv` (#710)
30+
- Parameter `emission_factor` to `energyProduction` and `energyProviders` and to rtd (`MVS_parameters.rst` and `MVS_parameters_list.csv`) (#706)
31+
- Parameter `total_emissions` in kgCO2eq/a to `constraints.csv` (#706)
32+
- Constant variables `TOTAL_EMISSIONS` and `SPECIFIC_EMISSIONS_ELEQ` for emission KPIs, `MAXIMUM_EMISSIONS` for emission constraint and `UNIT_EMISSIONS` and `UNIT_SPECIFIC_EMISSIONS` for unit definitions (#706)
33+
- Calculation of total emissions per production asset in `E3.calculate_emissions_from_flow()`, which are added to `KPI_SCALARS_DICT` (#706)
34+
- KPI "Total emissions" in kgCO2eq/a per production asset (`E3.add_total_emissions()`) and KPI "Specific emissions per electricity equivalent" in kgCO2eq/kWheleq (`E3.add_specific_emissions_per_electricity_equivalent()`) (#706)
35+
- Tests for functions `E3.calculate_emissions_from_flow()`, `E3.add_specific_emissions_per_electricity_equivalent()`) and `E3.add_total_emissions()` (#706)
36+
- Added `emisson_factor` of providers to automatic source for providers in `C0.define_source()` and adapted tests (#706)
37+
- Added information on calculation of total emissions in RTD in Simulation Outputs section (#706)
38+
- Parameter `maximum_emissions` (`MAXIMUM_EMISSIONS`) to `constraints.csv`, unit: kgCO2eq/a (#706)
39+
- Maximum emission constraint by `D2.constraint_maximum_emissions()` to `D2.add_constraints()` using `oemof.solph.constraints.emission_limit()`, also added tests (#714, #706)
40+
- Benchmark test for maximum emission constraint in `test_benchmark_constraints.py` (#714, #706)
41+
- Information on maximum emissions constraint to RTD, including help for the end-user to define the value for this constraint (#714, #706)
42+
- A logging.warning (`C1.check_feasibility_of_maximum_emissions_constraint()`) if `maximum_emissions` constraint is used but no asset with zero emissions is optimized without maximum capacity constraint, also added tests (#714, #706)
43+
- A logging.warning (`C1.check_emission_factor_of_providers()`) in case any of the providers has a renewable share of 100 % but an emission factor > 0, also added tests (#714, #706)
44+
- Info on maximum emissions constraint benchmark test to RTD (#714, #706)
45+
- Verification for maximum emissions contraint in `E4.maximum_emissions_test()`, also added tests (#714, #706)
46+
47+
### Changed
48+
- Benchmark test for investment model (`Test_Economic_KPI.test_benchmark_Economic_KPI_C2_E2`): Expand test to LCOE as well as all all other system-wide economic parameters, transpose `test_data_economic_expected_values.csv`, change `test_data_economic_expected_values.xls` (#613)
49+
- Adapt pre-processing for investment benchmark tests into a seperate function (#613)
50+
- `COST_REPLACEMENT` is now a parameter that is included in output cost matrix (#613)
51+
- Improved `Code.rst` for RTD code documentation (#704)
52+
- All `.py` files to add a module description for RTD on top (#704)
53+
- Converted `README` from `.md` to` .rst` format and updated `Installation.rst` file (#646)
54+
- Updated `setup.py` to use the rst formatted README file
55+
- Changed `C0.energyStorage()` for timeseries in storage parameters (hotfix) (#720)
56+
- Input files and benchmark test `test_benchmark_special_features.Test_Parameter_Parsing()`: Now also including timeseries in a storage component (#723)
57+
- Adapted `E0` tests to new parameter `emission_factor` (#706)
58+
- Adapted all test inputs and json files and the input template, adding `emission_factor` (`energyProduction`, `energyProviders`) and `maximum_emissions` (`constraints.csv`) (#706)
59+
60+
### Removed
61+
- Removed `README.md` in favour of `README.rst` (#646)
62+
63+
### Fixed
64+
- Decreased warnings of RTD compilation drastically (#693)
65+
- Use current version number as defined in `version.py` for RTD (#693)
66+
- Added storage to the table in autoreport listing the energy system components (#686)
67+
- Add assertion `sum(attributed_costs)==cost_total` (for single-vector system) (#613)
68+
- Benchmark test for renewable share (`TestTechnicalKPI.test_renewable_factor_and_renewable_share_of_local_generation()`) (#613)
69+
- Github actions workflow: update apt-get before installing pre-dependencies (#729)
70+
- Got rid of logging messages of imported libraries in the log file (#725)
71+
- Fix RTD for emissions (#735)
72+
- Hot fix: Parameters to be defined as timeseries in `storage_*.csv` (#720)
73+
- Tests for `E4.minimal_renewable_share_test` (#714, #706)
74+
2275
## [0.5.3] - 2020-12-08
2376

2477
### Added

CONTRIBUTING.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,9 @@ For help look into the [github release description](https://help.github.com/en/g
151151
2. Type `twine upload dist/*`
152152
3. Enter `__token__` for username and your pypi token for password.
153153
9. Test your package:
154-
1. Test the upload on test.pypi.org
155-
` twine upload --repository testpypi dist/*`
154+
1. Test the upload on test.pypi.org:
155+
Here you need to use username and password of our [email protected] account.
156+
` twine upload --repository testpypi dist/*`
156157
2. Test the installation: `pip install multi-vector-simulator==X.Y.Zrci`, where you replace `X.Y.Zrci` by your current version and release candidate
157158
3. Then open a terminal
158159
`mvs_tool -f -o test_pypi`
@@ -175,6 +176,8 @@ For help look into the [github release description](https://help.github.com/en/g
175176
-
176177
### Removed
177178
-
179+
### Fixed
180+
-
178181
```
179182
4. Commit the steps 2. and 3. together with commit message "Start vX.Y.Zdev"
180183

README.md

Lines changed: 0 additions & 192 deletions
This file was deleted.

0 commit comments

Comments
 (0)