-
Notifications
You must be signed in to change notification settings - Fork 54
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
Small fixes #167
Conversation
lisazeyen
commented
Sep 24, 2021
- 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
There was a problem hiding this 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
clusters=48, | ||
clusters='45', | ||
lv=1.0, | ||
opts='', | ||
sector_opts='Co2L0-168H-T-H-B-I-solar3-dist1', | ||
planning_horizons=2020, | ||
planning_horizons='2030', |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
@@ -2007,10 +2010,11 @@ def limit_individual_line_extension(n, maxext): | |||
snakemake = mock_snakemake( | |||
'prepare_sector_network', | |||
simpl='', | |||
clusters=48, | |||
clusters='45', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clusters='45', | |
clusters=45, |
Sorry, made a big mess, squashing this time since it's only a few lines and doesn't contribute to stats. |
… 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.