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

Fixed heat exchanger coefficient used for pressure drop #44

Merged
merged 3 commits into from
Nov 1, 2022

Conversation

eytanadler
Copy link
Collaborator

Purpose

There was a mistake in the heat exchanger PressureDrop component where the cold side coefficients were used also for the hot side, instead of the hot side coefficients. I don't think this will affect anything since the default option values for the cold and hot sides are the same and are rarely specified to be something else (never in the code as far as I can tell).

Type of change

What types of change is it?
Select the appropriate type(s) that describe this PR

  • Bugfix (non-breaking change which fixes an issue)

@eytanadler eytanadler added the bug Something isn't working label Nov 1, 2022
@eytanadler eytanadler requested a review from a team as a code owner November 1, 2022 13:02
@codecov
Copy link

codecov bot commented Nov 1, 2022

Codecov Report

Merging #44 (9b8966d) into main (805ebd2) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #44   +/-   ##
=======================================
  Coverage   80.27%   80.28%           
=======================================
  Files          84       84           
  Lines        8970     8974    +4     
=======================================
+ Hits         7201     7205    +4     
  Misses       1769     1769           
Impacted Files Coverage Δ
thermal/heat_exchanger.py 99.46% <0.00%> (+<0.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

lamkina
lamkina previously approved these changes Nov 1, 2022
Copy link

@lamkina lamkina left a comment

Choose a reason for hiding this comment

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

Good catch!

Copy link

@lamkina lamkina left a comment

Choose a reason for hiding this comment

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

Another good catch!

@eytanadler eytanadler merged commit ae1d52e into mdolab:main Nov 1, 2022
@eytanadler eytanadler deleted the hx_fix branch November 1, 2022 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants