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 15 forks source link

GridEmission Demand Duplicates #272

Open trevorb1 opened 2 months ago

trevorb1 commented 2 months ago

Type of documentation issue

Missing Information

Issue Description

When using grid emissions electricity loads, there are certain timesteps that have duplicate values. I see in the code we just drop the first values, and its not really clear why thats happening. Would be good to just leave a comment in the code on the reason.

https://github.com/PyPSA/pypsa-usa/blob/37d9d43d1aeeebf56d93f3b1707a69de74d5e8c2/workflow/scripts/build_demand.py#L284-L293

These are the overlaps for 2019

image

Link to existing documentation

No response

Suggested Update

No response

Additional Info

No response