Skip to content

Hdk egs seismic risk mask#737

Open
hdanielskoch wants to merge 9 commits intodevelopfrom
hdk-egs_seismic_risk_mask
Open

Hdk egs seismic risk mask#737
hdanielskoch wants to merge 9 commits intodevelopfrom
hdk-egs_seismic_risk_mask

Conversation

@hdanielskoch
Copy link
Copy Markdown
Collaborator

@hdanielskoch hdanielskoch commented Feb 27, 2026

Closes # (if applicable).

Changes proposed in this Pull Request

EGS Changes

  • Downloads EGS seismic risk mask from Zenodo when EGS is present in resource options
  • Adds a retrieve_seismic_risk_mask rule that downloads the mask from Zenodo 18793962 into data/seismic_risk_exclusion/seismic_risk_mask.geojson.
  • add_electricity uses this downloaded file when EGS and seismic_exclusion are enabled. No manual download needed.
  • Adds advanced drilling and baseload dispatch as EGS defaults when selected

Myopic Mode Changes

  • Addes rec_trading_zone and original_reeds_zone to these attributes survive clustering aggregation, which is needed for myopic runs.
  • Fixed plotting for myopic mode to avoid plotting generators that don't exist in the current year. Changes plot_capacity_additions_bar and get_currently_installed_capacity to filter to generators with build_year < first investment_period or no build year.
  • Recalculates curtailment for multi-period netowkrs. Previously, n.statistics.curtailment used p_nom_opt for all generatorors regardless of whether they were active in a given period, which inflated available capacity and thus curtailment in early periods. The new function compute_corrected_curtailment computes curtailment per period using n.get_active_assets() and overwrites the curtailment column in the statistics csvs.

Unit Test Updates

  • Minor changes to allow all tests to pass (most changes in reserves and ERM constraints from resource sharing changes in previous PRs)

Checklist

  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.
  • Changed dependencies are added to envs/environment.yaml.
  • Changes in configuration options are added in all of config.default.yaml.
  • Changes in configuration options are also documented in doc/configtables/*.csv.

@hdanielskoch hdanielskoch changed the base branch from master to develop February 27, 2026 00:43
@hdanielskoch
Copy link
Copy Markdown
Collaborator Author

hdanielskoch commented Feb 27, 2026

image (5)

@hdanielskoch hdanielskoch force-pushed the hdk-egs_seismic_risk_mask branch from 2b0f053 to 514d050 Compare April 8, 2026 03:54
@hdanielskoch hdanielskoch force-pushed the hdk-egs_seismic_risk_mask branch from bc96f88 to 3a30b27 Compare April 8, 2026 04:08
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