Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large solution files take a long time to plot total generation, and other plots #68

Open
MartySchwarz opened this issue Apr 13, 2023 · 0 comments
Assignees

Comments

@MartySchwarz
Copy link
Collaborator

Most of the time is taken up by the get_formatted_data() function, because the data is natively stored at the unit level. However, most plots only care about data aggregated up to a certain geographic region. It would be much quicker to do that aggregation once in the formatter step, rather than each time you plot.

Proposed solution:
Save a seperate dataset within each *_{solution}_formatted.h5 file, in which each property (e.g. generator_Generation) is aggregated to each level as defined by the columns in the region_mapping file.

@MartySchwarz MartySchwarz self-assigned this Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant