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

Allow sorting candidate heat utils by temperature in HeatExchangerNetwork #210

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

sarangbhagwat
Copy link
Member

I've added an optional argument sort_hus_by_T to HeatExchangerNetwork initialization. This allows sorting hus_heating (by descending T) and hus_cooling (by ascending T) while synthesizing networks. While not a requisite in pinch-based HXN synthesis, this can sometimes enable better matches in the absence of stream splitting.

Copy link
Member

@yoelcortes yoelcortes left a comment

Choose a reason for hiding this comment

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

Looks good, happy to see you keep improving the modules you contributed!

@yoelcortes yoelcortes merged commit 5c1a650 into master Dec 9, 2024
1 of 2 checks passed
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.

2 participants