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

Implements option to build individual/groups of States/Regions #420

Merged
merged 22 commits into from
Sep 29, 2024

Conversation

ktehranchi
Copy link
Collaborator

@ktehranchi ktehranchi commented Sep 24, 2024

Closes #292:

This PR implements the option to model individual or groups of regions. I have moved model topology related configurations into the new section called model_topology which is used to specify the regions to include

Example: Modeling California

To create a model that includes only California, you can specify the relevant ReEDS zone IDs (p8-11) as shown below. This will limit the spatial scope to the specified regions within California.

model_topology:
   include:
      reeds_zone: ['p8', 'p9', 'p10', 'p11']

Alternatively, you can use the reeds_state: 'CA' option to achieve the same result by specifying the entire state.

Other changes:

  • upgrades environment for pypsa to 0.30.1 - so update your env!
  • addresses the many old deprecation warnings we had around the workflow
  • Throws GIS related files into a subfolder for each resource group
  • Includes WIP for county level aggregation

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.

@ktehranchi ktehranchi requested review from trevorb1 and removed request for trevorb1 September 25, 2024 03:13
@ktehranchi ktehranchi marked this pull request as ready for review September 25, 2024 03:16
@ktehranchi
Copy link
Collaborator Author

Hey @trevorb1 - let me know if this causes any conflicts with the county naming scheme in your sector work! idt it should. Also note the update to the env and the updated configuration files

@ktehranchi ktehranchi self-assigned this Sep 25, 2024
@ktehranchi ktehranchi added the enhancement New feature or request label Sep 25, 2024
@ktehranchi ktehranchi linked an issue Sep 25, 2024 that may be closed by this pull request
docs/source/config-spatial.md Show resolved Hide resolved
workflow/repo_data/config/config.default.yaml Outdated Show resolved Hide resolved
workflow/scripts/build_renewable_profiles.py Show resolved Hide resolved
workflow/scripts/cluster_network.py Show resolved Hide resolved
docs/source/config-configuration.md Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to build network for individual/groups of states
2 participants