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

Scales Demand #358

Closed trevorb1 closed 2 weeks ago

trevorb1 commented 3 weeks ago

Closes #339 Closes #276

Changes proposed in this Pull Request

In this PR I add sacling to demand. Specifically;

While this is not the most efficient implementation (as, for example, EFS data has to get read in once during the reading/writing, and again for scaling), I beleive this is clearer and more maintainable for our current workload. But happy to discuss this point! :)

This PR also removes the option of selecting scaling method in the configuration file, as we should lock this to align data.

Checklist

trevorb1 commented 2 weeks ago

Notes on this PR: