Skip to content

Commit 98c1f0d

Browse files
authored
Update minor issues (#150)
* Update .gitignore * Fix typo in documentation * Fix typo in config.yaml * Fix typo in compile_cost_assumptions.py * Add pypsa as requested by _helpers.py * Fix import in _helpers.py * Add release note
1 parent b464821 commit 98c1f0d

8 files changed

+9
-7
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
.snakemake
44
_build
5+
.idea
6+
.vscode
57
gurobi.log
68
*.log
79
*/__pycache__

.vscode/settings.json

-3
This file was deleted.

config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ energy_storage_database:
2020
approx_beyond_2030: ["same_as_2030"] # ["geometric_series"] or ["same_as_2030"]
2121

2222
# remove grid connection costs from DEA for offwind because they are calculated
23-
# seperately in pypsa-eur
23+
# separately in pypsa-eur
2424
offwind_no_gridcosts : true
2525

2626
desalination:

docs/release_notes.rst

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Release Notes
99

1010
* added geothermal district heating as `central geothermal-sourced heat pump` based on DEA technology catalogue ("45.1.a Geothermal DH, 1200m, E")
1111

12+
* Fix minor issues in the code
13+
1214

1315
Technology-Data 0.9.2 (30 August 2024)
1416
======================================

docs/structure.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This repository has the following structure:
1717
* source (e.g. DEA, excel_file_name.xlsx)
1818
* further description (specific assumptions, sheet name if data from a multi-sheet Excel file)
1919

20-
- **conifg**:
20+
- **config**:
2121

2222
.. literalinclude:: ../config.yaml
2323
:language: yaml

environment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ dependencies:
88
# for running the package
99
- snakemake-minimal>=8.5
1010
- pandas>=2.1
11+
- pypsa
1112
- numpy
1213
- beautifulsoup4
1314
- xlrd

scripts/_helpers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def mock_snakemake(
9191
from snakemake.api import Workflow
9292
from snakemake.common import SNAKEFILE_CHOICES
9393
from snakemake.script import Snakemake
94-
from snakemake.settings import (
94+
from snakemake.settings.types import (
9595
ConfigSettings,
9696
DAGSettings,
9797
ResourceSettings,

scripts/compile_cost_assumptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ def add_co2_intensity(costs):
777777

778778
def add_solar_from_other(costs):
779779
""""
780-
add solar from other sources than DEA (since the life time assumed in
780+
add solar from other sources than DEA (since the lifetime assumed in
781781
DEA is very optimistic)
782782
"""
783783

0 commit comments

Comments
 (0)