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

Fix costs year #346

Closed trevorb1 closed 1 month ago

trevorb1 commented 1 month ago

Changes proposed in this Pull Request

Fix costs retrieval if a historical planning year is used. Code adapted from @ktehranchi's suggestion. Also remove a pdb import to fix pre-commit issues.

Checklist