Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix p_nom_min for renewable generators in myopic configuration #727

Closed
martavp opened this issue Aug 22, 2023 · 0 comments · Fixed by #728
Closed

fix p_nom_min for renewable generators in myopic configuration #727

martavp opened this issue Aug 22, 2023 · 0 comments · Fixed by #728
Labels

Comments

@martavp
Copy link
Member

martavp commented Aug 22, 2023

In the overnight configuration, p_nom_min for renewable generators is set based on existing historical capacities. This is fine.

In the myopic configuration, when setting p_nom_max for renewable generators, the existing capacities are enforced over the maximum potential based on available land. The existing capacities have been written by prepare_network.py as p_nom_min in every expandable renewable generator). This is not correct.

A practical example, let's say that the existing solar capacity before 2020 in Spain is 5000 MW, and we want to run myopic for [2020,2030]
prepare_network.py creates two prenetworks with
generator.p_nom_min['ES solar-2020']=5000
generator.p_nom_min['ES solar-2030']=5000
but during the myopic run for 2020, the optimization yields generator.p_nom_opt['ES solar-2020']=maximum capacity based on available land.

Then, what should happen is that generator.p_nom_min['ES solar-2030']=0

This is not what it does currently.

Checklist

  • [x ] I am using the current master branch.
  • [x ] I am running on an up-to-date pypsa-eur environment. Update via conda env update -f envs/environment.yaml.

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant