PyPSA/pypsa-usa

Add Assertion that carriers exist within eligible sets

Open

#382 opened on Aug 14, 2024

 (1 comment) (1 reaction) (0 assignees)Python (52 forks)auto 404
buggood first issue

Repository metrics

Stars
 (140 stars)
PR merge metrics
 (PR metrics pending)

Description

Checklist

  • I am using the current master branch
  • I am running on an up-to-date pypsa-usa environment. Update via conda env update -f envs/environment.yaml

The Issue

If a user mistakenly places a conventional carrier in StorageUnits, instead of skipping it, we should set a warning that the carrier is not eligible.

Ideally, this happens early in each script, or in snakemake, so that the user gets the feedback immediately

Steps To Reproduce

No response

Expected Behavior

No response

Error Message

No response

Anything else?

No response

Contributor guide