Step 1

Compare the values of T0, M and Tw, if Tw ≤ M < T0, then go to step 2.

If M < Tw ≤ T0, then go to Step 3. Otherwise, if M 0 < T w, then go to Step 4.

Step 2

Calculate Δ1, Δ2 and Δ3 which are shown as in Equation (18), (20) and (22), respectively.

1) If Δ1 < 0 and Δ3 < 0, then TRC(T*) = TRC1(T1) and T* = T1. Go to Step 5.

2) If Δ1 < 0 and Δ3 ≥ 0, then TRC(T*) = min {TRC1(T1), TRC3(T3)} and T* = T1 or T3. Go to Step 5.

3) If Δ1 ≥ 0, Δ2 < 0 and Δ3 ≥ 0, then TRC(T*) = min{TRC2(T2), TRC3(T3)} and T* = T2 or T3. Go to Step 5.

4) If Δ2 ≥ 0, then TRC(T*) = min{TRC2(Tw), TRC3(T3)} and T*=Tw or T3. Go to Step 5.

5) If Δ1 ≥ 0 and Δ3 < 0, then TRC(T*) = TRC2(T2) and T* = T2. Go to Step 5.

Step 3

Calculate Δ4, Δ5 and Δ6 which are shown as in Equations (23), (25) and (26), respectively.

1) If Δ6 < 0, then TRC(T*) = min {TRC1(T1), TRC3(M)} and T* = T1 or M. Go to Step 5.

2) If Δ4 < 0, Δ5 <0 and Δ6 ≥ 0, then TRC(T*) = min {TRC1(T1), TRC4(T4)} and T* = T1 or T4. Go to Step 5.

3) If Δ4 < 0 and Δ5 ≥ 0, then TRC(T*) = min{TRC1(T1), TRC3(T3)} and T* = T1 or T3. Go to Step 5.

4) If Δ4 ≥ 0 and Δ5 < 0, then TRC(T*) = min{TRC1(Tw), TRC4(T4)} and T* = Tw or T4. Go to Step 5.

5) If Δ4 ≥ 0 and Δ5 ≥ 0, then TRC(T*) = min{TRC1(Tw), TRC3(T3)} and T* = Tw or T3. Go to Step 5.

Step 4

Calculate Δ4, Δ5, Δ7, Δ8 and Δ9 which are shown as in Equation (23), (25), (28), (29) and (30) respectively. If Δ4< 0, then go to Step 4.1. Otherwise, go to Step 4.2.

Step 4.1

1) If Δ8 < 0 and Δ9 < 0, then TRC(T*) = min{TRC1(T1), TRC4(T0)} and T* = T1 or T0. Go to Step 5.

2) If Δ8 < 0 and Δ9 ≥ 0, then TRC(T*) = min{TRC1(T1), TRC4(T4)} and T* = T1 or T4. Go to Step 5.

3) If Δ8 ≥ 0 and Δ9 < 0, then TRC(T*) = min{TRC1(T1), TRC4(T0), TRC5(T5)} and T* = T1 or T0 or T5. Go to Step 5.

4) IfΔ7 < 0, Δ8 ≥ 0 and Δ9 ≥ 0, then TRC(T*) = min{TRC1(T1), TRC4(T4), TRC5(T5)} and T* = T1 or T4 or T5. Go to Step 5.

5) If Δ5 < 0 and Δ7 ≥ 0, then TRC(T*) = min{TRC1(T1), TRC4(T4), TRC5(T0)} and T* = T1 or T4 or T0. Go to Step 5.

6) If Δ5 ≥ 0, then TRC(T*) = min{TRC1(T1), TRC3(T3), TRC5(T0)} and T* = T1 or T3 or T0. Go to Step 5.

7) If Δ8 < 0 and Δ9 < 0, then TRC(T*) = min{TRC1(T1), TRC4(T0)} and T* = T1 or T0. Go to Step 5.

8) If Δ8 < 0 and Δ9 ≥ 0, then TRC(T*) = min{TRC1(T1), TRC4(T4)} and T* = T1 or T4. Go to Step 5.

9) If Δ8 ≥ 0 and Δ9 < 0, then TRC(T*) = min{TRC1(T1), TRC4(T0), TRC5(T5)} and T* = T1 or T0 or T5. Go to Step 5.

10) IfΔ7 < 0, Δ8 ≥0 and Δ9 ≥ 0, then TRC(T*) = min{TRC1(T1), TRC4(T4), TRC5(T5)} and T* = T1 or T4 or T5. Go to Step 5.

11) If Δ5 < 0 and Δ7 ≥ 0, then TRC(T*) = min{TRC1(T1), TRC4(T4), TRC5(T0)} and T* = T1 or T4 or T0. Go to Step 5.

12) If Δ5 ≥ 0, then TRC(T*) = min{TRC1(T1), TRC3(T3), TRC5(T0)} and T* = T1 or T3 or T0. Go to Step 5.

Step 4.2

1) If Δ8 < 0 and Δ9 < 0, then TRC(T*) = min{TRC1(Tw), TRC4(T0)} and T* = Tw or T0. Go to Step 5.

2) If Δ8 < 0 and Δ9 ≥ 0, then TRC(T*) = min{TRC1(Tw), TRC4(T4)} and T* = Tw or T4. Go to Step 5.

3) If Δ8 ≥ 0 and Δ9 < 0, then TRC(T*) = min{TRC1(Tw), TRC4(T0), TRC5(T5)} and T* = Tw or T0 or T5. Go to Step 5.

4) If Δ7 < 0, Δ8 ≥0 and Δ9 ≥ 0, then TRC(T*) = min{TRC1(Tw), TRC4(T4), TRC5(T5)} and T* = Tw or T4 or T5. Go to Step 5.

5) If Δ5 < 0 and Δ7 ≥ 0, then TRC(T*) = min {TRC1(Tw), TRC4(T4), TRC5(T0)} and T* = Tw or T4 or T0. Go to Step 5.

6) If Δ5 ≥ 0, then TRC(T*) = min {TRC1(Tw), TRC3(T3), TRC5(T0)} and T* = Tw or T3 or T0. Go to Step 5.

Step 5

Stop