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

Small fixes #167

Merged
merged 10 commits into from
Sep 27, 2021
Merged

Small fixes #167

merged 10 commits into from
Sep 27, 2021

Conversation

lisazeyen
Copy link
Collaborator

  • add missing color for H2 liquidation to config.default.yaml
  • adjust for myopic optimisation selection of assets to new default lifetime and build year
  • remove trailiing whitespace in index of electricity load of pypsa-eur network

@lisazeyen lisazeyen requested a review from fneum September 24, 2021 12:37
Copy link
Member

@fneum fneum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment on the lstrip about when to remove it again.

scripts/prepare_sector_network.py Outdated Show resolved Hide resolved
Comment on lines 2010 to 2017
clusters=48,
clusters='45',
lv=1.0,
opts='',
sector_opts='Co2L0-168H-T-H-B-I-solar3-dist1',
planning_horizons=2020,
planning_horizons='2030',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keeping clusters as int would be nicer. Doesn't that work?

Copy link
Collaborator Author

@lisazeyen lisazeyen Sep 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it does not work. It breaks if it is of type int when slicing in the function update_wind_solar_costs

scripts/prepare_sector_network.py Outdated Show resolved Hide resolved
scripts/prepare_sector_network.py Outdated Show resolved Hide resolved
@@ -2007,10 +2010,11 @@ def limit_individual_line_extension(n, maxext):
snakemake = mock_snakemake(
'prepare_sector_network',
simpl='',
clusters=48,
clusters='45',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
clusters='45',
clusters=45,

@fneum
Copy link
Member

fneum commented Sep 27, 2021

Sorry, made a big mess, squashing this time since it's only a few lines and doesn't contribute to stats.

@fneum fneum merged commit 28264aa into master Sep 27, 2021
leonsn pushed a commit to leonsn/pypsa-eur-sec that referenced this pull request Nov 22, 2021
… factor indicated in the config file, eg: solar+c0.5

This is almost a direct copy PyPSA-Eur PyPSA#167
PyPSA/pypsa-eur#167

A factor altering the maximum capacity (p_nom_max) can also be specified by e.g. solar+p3

One should be careful when using this for solar because the factor is applied to all the generators whose carrier includes the string 'solar' (i.e., it is applied to both utility and rooftop solar)

I would suggest implementing 'solar utility' and 'solar rooftop' as carriers, since this can be useful for other selecting processes. Is there is any reason for keeping 'solar' as a carrier for 'solar utility'?

The previous way of increasing maximum capacity via the config file (e.g 'solar3') is still present in the code.
@fneum fneum deleted the small_fixes branch May 23, 2022 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants