Commit Graph

5277 Commits

Author SHA1 Message Date
Lukas Trippe
991916370f
ci: better inhouse checks (#1331)
* ci: better inhouse checks

* fix: no uv
2024-09-27 13:07:02 +02:00
Philipp Glaum
d4bad07cf4
build_transmission_projects: set s_max_pu to the value according to config (#1323) 2024-09-25 16:58:35 +02:00
Lukas Trippe
24e0ddd5a6
prepare for new n.add (#1316)
* prepare for new `n.add`

* Update scripts/prepare_sector_network.py

Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>

---------

Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2024-09-25 15:45:32 +02:00
Toni Seibold
79cea53146
Reduce retrofit potential in myopic optimization (#1258)
* reduce potential of gas network that can be retrofitted to H2 when gas grid is not resolved in myopic optimization

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* adding comment

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-25 13:23:50 +02:00
dependabot[bot]
c5ebb66f72
Bump lkstrp/pypsa-validator in the github-actions group (#1329)
Bumps the github-actions group with 1 update: [lkstrp/pypsa-validator](https://github.com/lkstrp/pypsa-validator).


Updates `lkstrp/pypsa-validator` from 0.2.1 to 0.2.2
- [Release notes](https://github.com/lkstrp/pypsa-validator/releases)
- [Commits](https://github.com/lkstrp/pypsa-validator/compare/v0.2.1...v0.2.2)

---
updated-dependencies:
- dependency-name: lkstrp/pypsa-validator
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-25 08:24:19 +02:00
Toni Seibold
51f8c2935a
Adding config for post discretization bugfix (#1309)
* Adding config for post discretization bugfix
2024-09-24 22:25:15 +02:00
Lukas Trippe
e65ce91a73
fix: failing macos pypsa installation (#1325) 2024-09-24 10:26:03 +02:00
Uzair Aftab
0d1c36ba6e
fix: move pypsa dependency to pip (#1322) 2024-09-24 08:42:01 +02:00
Fabian Neumann
8ed7654294
myopic: ensure all links with capital costs have lifetime (#1319)
* myopic: ensure all links with capital costs have lifetime

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-23 15:53:11 +02:00
Fabian Neumann
343aba1db9
Methanol-to-kerosene: correct efficiency and add VOM (#1320)
* MtK: add VOM

* MtK: fix methanol input efficiency
2024-09-23 15:52:57 +02:00
Fabian Neumann
0694cc60b8 follow-up to #1318 2024-09-23 15:52:32 +02:00
Fabian Neumann
1a64345067
fix retrieve_worldbank_urban_population (#1318) 2024-09-23 12:01:27 +02:00
Fabian Neumann
e2be4d730e
bugfix: account for kerosene emissions in methanol-to-kerosene link (#1317)
* bugfix: account for kerosene emissions in methanol-to-kerosene link

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-23 11:52:54 +02:00
Lukas Trippe
6387c46c2e
test: use makefile (#1315)
* test: use makefile

* more make commands
2024-09-23 10:13:20 +02:00
Lukas Trippe
a6ac2b4865
fix: make test.sh executable (#1314) 2024-09-20 12:32:27 +02:00
Fabian Neumann
9e43aa5b88 follow-up to #1312: avoid use of snakemake in industrial_energy_demand_per_country 2024-09-20 09:01:27 +02:00
Koen van Greevenbroek
81da6859ee
Fix industrial demand for ammonia when endogenously modelled (#1312)
* Fix industrial demand for ammonia when endogenously modelled

In calculating industrial energy demand today, demand for ammonia must
be resolved into just "ammonia" when endogenously modelled, or into
electricity and hydrogen if not.

* Add release note
2024-09-20 08:54:19 +02:00
Koen van Greevenbroek
38f2dc7a75
Only add buses in specified countries (#1308)
* Only add buses in specified countries

This is necessary for the new OSM-based base network, where loaded
buses already have a "country" attribute.

* Add release note
2024-09-18 16:29:05 +02:00
Koen van Greevenbroek
bb8363a650
Add {sector_opts} wildcard to snapshot_weightings output (#1307)
This restores the functionality of time-aggregation wildcards for
sector-coupled networks.
2024-09-18 16:28:03 +02:00
Lukas Trippe
9420c9081e
ci: show heat balances in validator (#1304) 2024-09-17 14:00:40 +02:00
Fabian Neumann
d58c74d0f9 Merge branch 'master' of github.com:pypsa/pypsa-eur 2024-09-17 07:39:35 +02:00
Fabian Neumann
08548dc738 remove unnecessary [-4:] from snakemake.wildcards.planning 2024-09-17 07:39:23 +02:00
dependabot[bot]
ae0d1d5874
Bump actions/cache from 3 to 4 in the github-actions group (#1300)
Bumps the github-actions group with 1 update: [actions/cache](https://github.com/actions/cache).


Updates `actions/cache` from 3 to 4
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 22:11:14 +02:00
Fabian Neumann
90e1365075 follow-up to #1298 2024-09-16 15:21:07 +02:00
Fabian Neumann
d8f8a828f9
options: biosng_cc, biomass_to_liquid_cc, 98% capture rate Allam gas,… (#1298)
* options: biosng_cc, biomass_to_liquid_cc, 98% capture rate Allam gas, avoid option.get

* fix duplicated bus port
2024-09-16 15:04:24 +02:00
Philipp Glaum
df71b1a64c
remove MtO as long as there is no HVC bus (#1299) 2024-09-16 15:02:42 +02:00
github-actions[bot]
f9bddc914e
[github-actions.ci] Update fixed environment (#1297)
* [create-pull-request] automated change

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: lkstrp <62255395+lkstrp@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-16 14:07:44 +02:00
Lukas Trippe
5fdbe93f67
test: fix and update test workflows (#1296)
* test: fix and update test workflows

* resolve conflict

* bring back test.sh
2024-09-16 13:14:41 +02:00
Fabian Neumann
d809cf374a move cluster-first release notes to upcoming release 2024-09-13 17:39:51 +02:00
Lukas Trippe
0a18ddbb65
add validator report (#1295)
* ci: add validator

* disable dev mode

* update version
2024-09-13 15:56:29 +02:00
Fabian Neumann
013b705ee4
Clustering: build renewable profiles and add all assets after clustering (#1201)
* Cluster first: build renewable profiles and add all assets after clustering

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* correction: pass landfall_lengths through functions

* assign landfall_lenghts correctly

* remove parameter add_land_use_constraint

* fix network_dict

* calculate distance to shoreline, remove underwater_fraction

* adjust simplification parameter to exclude Crete from offshore wind connections

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove unused geth2015 hydro capacities

* removing remaining traces of {simpl} wildcard

* add release notes and update workflow graphics

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: lisazeyen <lisa.zeyen@web.de>
2024-09-13 15:37:01 +02:00
Fabian Neumann
40351fbf9b
prepare release v0.13.0 (#1292)
* prepare release v0.13.0

* adjust release note

* amend release note

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-13 15:14:39 +02:00
Bobby Xiong
42f2c37ebf
Updated osm-prebuilt network to v0.4 and added version control to config (#1293)
* Updated base_network script and rules.

* Updated osm-prebuilt to version 0.4 and added version control.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-13 14:55:52 +02:00
Fabian Neumann
dbe7f48d6e
update data bundle version (with reduced files) (#1291)
* update data bundle version (with reduced files)

* update data bundle to v0.4.1 with corrected permissions
2024-09-13 11:09:27 +02:00
Lukas Trippe
3e2286633a
fix: env update trigger from #1049 (#1281)
* Update update-fixed-env.yaml

* Update update-fixed-env.yaml

* Update update-fixed-env.yaml

* handle reuse

* fix

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update update-fixed-env.yaml

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-13 10:52:16 +02:00
cpschau
e35f651518
Update NUTS3 shapes (#1286)
* increase nuts3 shape resolution

* retrieve and use shapes with EPSG:4326

* co-retrieve nuts2 shapes; add retries

* added release note

* changed doc/data_sources
2024-09-12 19:20:07 +02:00
Bobby Xiong
16b0f35cd8
Bug fixes in add_existing_baseyear: Defaults and missing empty space (#1289)
* Bug fixes in add_existing baseyear.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: lisazeyen <35347358+lisazeyen@users.noreply.github.com>
2024-09-12 17:53:25 +02:00
lisazeyen
1b97a16bfa
add option to vary parameter (#1244)
* add option to vary parameter

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove logger.info

* adjust maybe_adjust_costs_and_potentials

* update configtables

* revert removed cost_factor

* reset build_energy_totals to master

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add release notes

* Revert "revert removed cost_factor"

This reverts commit b7154f046954bd6de34c2910f3f9f52b44d5f233.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2024-09-12 16:02:10 +02:00
Fabian Neumann
e8e0833e3a
Document nearly all data sources in doc/data_sources.rst (#1284)
* initial data-sources page

* continue with data sources

* continue with data sources

* finalize data sources documentation

* correct DIW link
2024-09-12 09:43:55 +02:00
dependabot[bot]
643baf780e
Bump the github-actions group with 4 updates (#1283)
Bumps the github-actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [actions/cache](https://github.com/actions/cache), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request).


Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

Updates `actions/cache` from 3 to 4
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

Updates `actions/upload-artifact` from 4.3.0 to 4.4.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.0...v4.4.0)

Updates `peter-evans/create-pull-request` from 6 to 7
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 06:44:21 +02:00
Lukas Trippe
5316655c55
add dependabot (#1282) 2024-09-11 18:32:39 +02:00
cpschau
65054ae903
Simplify integration of unsustainable solid biomass (#1275)
* remove extra bus and link; remove redundant addition of oil carrier_bus

* remove redundant addition of oil carrier buses

* changed PyPSA requirement in envs/environment.yaml
2024-09-11 17:20:00 +02:00
Lukas Trippe
e6d4dd67dc
fix: add validator config (#1273) 2024-09-11 16:49:31 +02:00
Lukas Trippe
4524aca5d9
fix: connection check failing (#1280) 2024-09-11 16:31:19 +02:00
lisazeyen
6f39dc7da1
Merge pull request #1207 from p-glaum/add_methanol_techs
Add methanol techs
2024-09-11 15:43:35 +02:00
lisazeyen
8e068c8a67
Merge branch 'master' into add_methanol_techs 2024-09-11 15:34:28 +02:00
lisazeyen
7acda28ee7
Merge pull request #1255 from PyPSA/fix_building_fec
Use JRC-IDEES thermal energy service instead of FE for buildings heating demand
2024-09-11 15:25:44 +02:00
lisazeyen
d9ab494080 add release note 2024-09-11 15:15:56 +02:00
pre-commit-ci[bot]
a57e39b3e7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-09-11 13:09:53 +00:00
lisazeyen
13ec268440
Merge branch 'master' into fix_building_fec 2024-09-11 15:07:12 +02:00