Merge changes from upstream - #54
Closed
daniel-rdt wants to merge 8 commits into
Closed
Conversation
Co-authored-by: Blake Eldridge <blake.eldridge@fnc.co.uk>
* refactor: use standing_losses from cost file instead of tes_tau * fix: delete widow code * refactor: add release_notes * refactor: mention new costs file version in release notes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * refactor: remove tes_tau from sector.csv config --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…updates (PyPSA#1798) Bumps the github-actions group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [actions/download-artifact](https://github.com/actions/download-artifact). Updates `actions/checkout` from 4 to 5 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) Updates `actions/download-artifact` from 4 to 5 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/download-artifact dependency-version: '5' 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>
Member
Author
|
Hi @coroa, here is the upstream merge (as of August 20th). There are no conflicting changes with our OET fork. If you approve the PR, I can quickly merge it :) |
Member
|
@daniel-rdt I synced upstream this morning, before reading this PR. I never create a PR for OET/pyspa-eur, as no specific project relies on it. Projects always have their own fork where they need to track changes (and refuse some of them if needed). Does this mean that this PR is no longer relevant? |
Member
|
@daniel-rdt sounds like this got lost |
Member
Author
sorry, I missed this. Yes indeed, as upstream was already synced, I will close this PR |
coroa
added a commit
that referenced
this pull request
Nov 14, 2025
* feat: skip tyndp_renewable_profile technologies in workflow and build_renewable_profiles * feat: clean pecd data for years 2030, 2040, 2050 and build_renewable_profiles_pecd * feat: add pecd profiles as input to prepare_sector_network and add_brownfield rules * fix: add hotfix for add_existing_baseyear existing renewable capacities and fix name of profiles in add_brownfield rule * fix: fix pylint * fix: fix pylint better * feat: introduce clean_tyndp_offshore_hubs * doc: document newly added functions * feat: improve configuration based on master * feat: define outputs * feat: enable offshore hubs by default for tyndp configurations * fix: add electricity param for add_existing_baseyear rule in perfect foresight workflow * feat: improve workflow implementation for more efficient execution of clean_pecd_data with handling of not available pecd years * fix: hotfix for add_brownfield p_max_pu until tyndp generators are added. Needs to be reverted later * doc: add description of new configuration option to configtables * doc: add release note * feat: add retrieval rule for PECD data from google drive until data on Zenodo * fix: fix ruleorder statement * fix: remove unneeded inputs to build_renewable_profiles_pecd and update download link for pecd data * fix: set file outputs for retrieve_tyndp_bundle * feat: assume non extendable links for missing data * fix: integrate new config for rule * refactor: rename clean_tyndp_offshore_hubs to build_tyndp_offshore_hubs to match conventions * doc: update license identifier * feat: update pecd retrieval to use gcp storage * feat: WIP introduce offshore reference grid in the network (assuming absolute investment cost) * feat: switch to relative costs (EUR/kW and EUR/kW/a) and define a specific function * feat: map AC nodes to H2 Z2 nodes for H2 offshore grid * doc: add basic release note * refactor: rename function to be tyndp specific * revert: revert change in default config * feat: build electrolysers data * feat: attach offshore electrolysers * refactor: switch functions * feat: build generators data * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: overwrite default lifetime assumptions with tyndp specific values * feat: generalize more make_index * fix: adjust offshore radial locations * doc: update units info * feat: add offshore generators to the network (without potentials and pecd data) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * doc: detail GENERATOR approach * WIP feat: extend GENERATOR processing to take discrepancies into account * WIP feat: refactor everything * feat: extract both existing and potentials from layer and trajectories from zone * doc: improve documentation of load_offshore_generators * feat: resolve discrepancy in DEOH002 * feat: filter for selected countries * fix: take efficiency into account for h2-generating wind farms * feat: attach PECD profiles to offwind generators * refactor: use tyndp specific renewable carriers and differentiate between tyndp renewable carriers and pecd renewable profiles * bugfix: include missing offshore node PECD data as empty columns and replace UK with GB naming convention * feat: improve myopic approach, removing previous assets * bugfix: fix pylint and remove hydro from test config * bugfix: add existing res dependent on renewable carriers list * feature: add 2050 pecd renewable profiles explicitly and filter for snapshots when cleaning data * feat: introduce a constraint to limit expansion of collocated technologies that use the same potential * bugfix: fix params for add_existing_baseyear solve_perfect * feat: add zone potential constraint * bugfix: change year in renewable profile pecd back to integer * fix: address patches used to develop parallel features * fix: avoid adding an empty constraint * doc: adjust license identifier * fix: address pecd profiles mapping in add_brownfield * refactor: refactor myopic approach for offshore assets * refactor: adjust nomenclature of offshore grid capacity * refactor: filter radial nodes out of buses * refactor: assign radially connected electrolysers to home market nodes * fix: use tyndp data for electrolysers capital cost * refactor: improve radial nodes exclusions * fix: prevent filtering of grid data from expansion candidates * refactor: remove location from electrolysers * refactor: change approach for nodes and locations in generators * feat: read pecd data using location * refactor: use bus instead of bus0 for generators * fix: correct typo in h2 offshore grid * fix: add country to rename for electrolysers * feat: improve constraint formulation to account for refactoring * bugfix: fix year dimension for 2035 an 2045 steps * fix: adjust layer constraint to account for existing capacities * refactor: rename variables to align with the constraints standards * feat: introduce bin in index for compatibility with add_brownfield * feat: add colors for new carriers * fix: remove OH nodes from the list used for distribution * Apply suggestions from code review Co-authored-by: Daniel Rüdt <117752024+daniel-rdt@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Apply suggestions from code review Co-authored-by: Daniel Rüdt <117752024+daniel-rdt@users.noreply.github.com> * feat: update the set of colors for the new technologies * refactor: change config name for offshore hubs (apply suggestion) * doc: improve release note * refactor: use unpack to define offshore inputs in prepare_sector_network * refactor: make filter more explicit to exclude offshore grid in add_brownfield * fix: account for the shared potential of hydrogen- and electricity-generating wind farms * fix: remove double counting of existing capacities * fix: account for efficiency in existing for zonal constraint * feat: resolve DEOH002 capacity mismatch in existing capacities * ci: revert temporary CO2 budget increase - tests now pass with original values * doc: refine documentation of discrepancy in DEOH002 * doc: remove outdated documention from load_offshore_hubs * refactor: replace generic RuntimeError with ValueError for invalid input * refactor: assign nyears before use * fix: set offshore_zone_trajectories across all foresight scripts * doc: change position of comment in add_brownfield * feat: remove reference to config/config.yaml, as it is not used * fix: set offshore_zone_trajectories across all foresight scripts * refactor: add empty input for offshore files in prepare_sector_network * fix: set offshore_zone_trajectories across all foresight scripts * fix: add empty input for offshore files in prepare_sector_network * refactor: refactor existing plotting routines to align conventions * feat: introduce offshore plotting routines * refactor: match new naming convention for plots * refactor: remove the default reference to base network for offshore plotting routine * refactor: split offshore plotting routine using a carrier wildcard * fix: attach h2 piplines to the correct buses * fix: remove previous build year from efficiency calculations * fix: group links in plot_offshore_network * feat: add a offshore transmission capacity limits * ci: fix run name keyword * Apply suggestions from code review Co-authored-by: Thomas Gilon <thomas.gilon@openenergytransition.org> Co-authored-by: Jonas Hörsch <coroa@posteo.de> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: import chain from itertools * refactor: generalize get tyndp renewable carriers * ci: fix run name keyword * Revert "ci: fix run name keyword" This reverts commit 5c2de44. * fix: fix merge conflict in add_brownfield regarding tyndp_renewable_carriers * feat: make legend optional in plot_offshore_network * feat: modularize link width plotting functionality * feat: add hubs_only parameter to filter offshore hub in visualization * fix: remove placeholder for renewable technology max capacities in build_renewable_profiles_pecd * doc: add information about PECD Version 3.1 to documentation * fix: remove unnecessary params from pecd rules * feat: change fn_pecd to dir_pecd and add comment on skiprows * refactor: change to if not continue style to reduce diff * feat: improve pecd profile configuration by making profile names explicit and improving documentation * refactor: simplify tyndp_renewable_carriers also in smk files * feat: improve mapping from tyndp techs to PECD profile names * Apply suggestions from code review Co-authored-by: Daniel Rüdt <117752024+daniel-rdt@users.noreply.github.com> * fix: fix merge conflicts * refactor: remove logger as argument * feat: make the retrieve outputs more explicit * fix: fix outputs in retrieve_tyndp_bundle * refactor: use explicit list of tyndp carriers in constraint * refactor: apply code suggestion * refactor: improve code * doc: adjust licensing * doc: make README more explicit about make tyndp * refactor: define a specific tyndp all function * refactor: prefer branch over lambda formulation * refactor: apply code suggestions * fix: fix file name in all rule * refactor: remove unused function arguments * refactor: update carrier naming to explicitly separate offshore hubs and DRES * fix: fix: restrict max_capacity condition to inter-hubs connections and correct unit * fix: fix dimension issue in add_brownfield * refactor: convert to explicit hydrogen buses sooner * feat: add plotting threshold for plot_offshore_network * fix: use mainland GB coordinates instead of Northern Ireland * fix: remove Offshore Hubs from hydrogen plots * feat: introduce time-varying efficiencies for offwind generators (#68) * feat: introduce time-varying efficiencies for offwind generators * feat: use fixed 2020 efficiency values to prevent solver infeasibility * refactor: rename efficiency to efficiency_dc_to_b0 for offshore generators * refactor: move if outside of extend in Snakefile * refactor: remove redundant formulation in add_brownfield * refactor: move input_offshore_hubs in file * refactor: test before using input_offshore_hubs * refactor: improve minor code inconsistencies --------- Co-authored-by: daniel-rdt <daniel.ruedt@openenergytransition.org> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel Rüdt <117752024+daniel-rdt@users.noreply.github.com> Co-authored-by: Jonas Hörsch <coroa@posteo.de>
brynpickering
added a commit
that referenced
this pull request
Dec 4, 2025
…download-and-extract Add FES workbook extractor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes proposed in this Pull Request
This PR brings in upstream changes. No conflicting changes.
Checklist
envs/environment.yaml.config/config.default.yaml.doc/configtables/*.csv.doc/data_sources.rst.doc/release_notes.rstis added.