PyPSA / pypsa-usa

PyPSA-USA: An Open-Source Energy System Optimization Model for the United States
https://pypsa-usa.readthedocs.io
MIT License
35 stars 14 forks source link

`prepare_network` failing #334

Closed trevorb1 closed 1 month ago

trevorb1 commented 1 month ago

Checklist

Issue exisits on what branch

Develop

The Issue

Social discount rate KeyError in prepare_network

Steps To Reproduce

No response

Expected Behavior

No response

Error Message

INFO:pypsa.io:Imported network elec_s_80_ec.nc has buses, carriers, generators, lines, links, loads, storage_units
Traceback (most recent call last):
  File "/home/trevor/repos/pypsa-usa/workflow/.snakemake/scripts/tmpzexiep_i.prepare_network.py", line 326, in <module>
    social_discountrate = snakemake.params.costs["social_discount_rate"]
                          ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'social_discount_rate'

Anything else?

No response

trevorb1 commented 1 month ago

my bad. Didnt pull newest config.