Offshore Wind Potential Correction
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 614
- Forks
- 459
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 6
Description
Checklist
- [X ] I am using the current
masterbranch or the latest release. Please indicate. - [ X] I am running on an up-to-date
pypsa-eurenvironment. Update viaconda env update -f envs/environment.yaml.
Describe the Bug
The current offshore wind potential with the settings given in config.default.yaml leads to a total offshore potential of 32 GW in Germany. The political target atm is 70 GW in 2045. In order to allow the model to expand further either a country specific capacity_per_sqkm: needs to be implemented.
The capapacity_per_sqkm is expected to be between 6-8 for Germany
Error Message
Generator-ext-p_nom-upper[DE1 3 offwind-ac-2035]: +1 Generator-p_nom[DE1 3 offwind-ac-2035] ≤ 1476.41315085
Generator-ext-p_nom-upper[DE1 3 offwind-dc-2035]: +1 Generator-p_nom[DE1 3 offwind-dc-2035] ≤ 19429.4347882
Generator-ext-p_nom-upper[DE1 6 offwind-ac-2035]: +1 Generator-p_nom[DE1 6 offwind-ac-2035] ≤ 2492.76843506
Generator-ext-p_nom-upper[DE1 6 offwind-dc-2035]: +1 Generator-p_nom[DE1 6 offwind-dc-2035] ≤ 1449.20824617
Generator-ext-p_nom-upper[DE1 7 offwind-ac-2035]: +1 Generator-p_nom[DE1 7 offwind-ac-2035] ≤ 1104.12646493
Generator-ext-p_nom-upper[DE1 7 offwind-dc-2035]: +1 Generator-p_nom[DE1 7 offwind-dc-2035] ≤ 257.203999356
GlobalConstraint-capacity_minimum-DE-Generator-offwind: +1 Generator-p_nom[DE1 3 offwind-ac-2035] + 1 Generator-p_nom[DE1 3 offwind-dc-2035] + 1 Generator-p_nom[DE1 6 offwind-ac-2035] + 1 Generator-p_nom[DE1 6 offwind-dc-2035] + 1 Generator-p_nom[DE1 7 offwind-ac-2035] + 1 Generator-p_nom[DE1 7 offwind-dc-2035] ≥ 31871
ERROR:root:Uncaught exception
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with config.default.yaml and the offshore wind potential calculation that produces the Generator-ext_p_nom-upper limits shown in the error. Check envs/environment.yaml to reproduce the issue, then trace how capacity_per_sqkm is applied by country; done means Germany can represent the requested higher offshore wind potential without violating the resulting constraints.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100