1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Results types for discretized heat exchanger solving.
use crateState;
use ;
use HeatTransferRate;
/// Node states and performance metrics for a discretized heat exchanger.
///
/// Node arrays follow the physical layout from left (0) to right (N-1).
/// The top stream always flows from node 0 to node N-1.
/// The bottom stream flows from node 0 to node N-1 for parallel flow and from
/// node N-1 to node 0 for counterflow.
/// Minimum hot-to-cold temperature difference and its node index.