Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxcode123 committed Apr 9, 2024
1 parent e9c70f2 commit eae2e62
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,17 @@ diff_in = hot_in - cold_in
diff_out = hot_out - cold_out
temperature_diff = (diff_in - diff_out) / math.log((diff_in / diff_out).value)

heat_duty = (heat_transfer_coeff * heat_exchange_area * temperature_diff).to_unit(KILO_WATT)
heat_duty = heat_transfer_coeff * heat_exchange_area * temperature_diff

print(heat_duty)
print(heat_duty.to_si())
print(heat_duty.to_unit(KILO_WATT))
```

Result:

```
306.1224518046951 kW
1044588.4611345042 Btu / hr
306122.451804695 J / s
306.122451804695 kW
```

0 comments on commit eae2e62

Please sign in to comment.