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

Improve preprocessing time #77

Merged
merged 2 commits into from Mar 14, 2024
Merged

Improve preprocessing time #77

merged 2 commits into from Mar 14, 2024

Conversation

schmoelder
Copy link
Contributor

@schmoelder schmoelder commented Dec 5, 2023

As mentioned in #75, pre-processing can take a long time, especially for complex systems with many units and parameters. In this PR, we try to address some of the issues.

Options

Consider further profiling to identify current bottlenecks and consider architecture changes that further speed this up

@@ -128,13 +128,10 @@ def add_inter_zone_connections(self, flow_sheet):

flow_sheet.add_connection(origin, destination)

flow_rates = self.flow_sheet.get_flow_rates()
for zone in self.zones:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this is even necessary here. I think that output states are entirely handled by Events.

@schmoelder
Copy link
Contributor Author

@dion-is, happy new year! :)

Did you ever get a chance to test this PR?

@dion-is
Copy link

dion-is commented Jan 10, 2024

@schmoelder , sorry, I just rolled back to the previous version for now. Will test this later.

@schmoelder schmoelder marked this pull request as ready for review March 14, 2024 19:06
@schmoelder schmoelder merged commit 0673f9b into dev Mar 14, 2024
5 checks passed
@schmoelder schmoelder deleted the benchmarking_carousel branch March 14, 2024 19:06
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

Successfully merging this pull request may close these issues.

None yet

2 participants