% STEADY STATE VARIABLES FOR EACH HEAT EXCHANGER
% IN THE 4:1 HEN


function [x0] = ssvar(HXindex,N)

    if HXindex == 1
        
                x0 = [189.4314
                      188.8645
                      188.2992
                      187.7357
                      187.1738
                      186.6137
                      186.0552
                      185.4984
                      184.9432
                      184.3897
                      161.9307
                      162.4168
                      162.9043
                      163.3933
                      163.8838
                      164.3758
                      164.8692
                      165.3641
                      165.8605
                      166.3584
                      130.0389
                      130.4293
                      130.8208
                      131.2135
                      131.6074
                      132.0025
                      132.3988
                      132.7962
                      133.1949
                      133.5947];
              
    elseif HXindex == 2
        
                x0 = [201.5099
                      200.0399
                      198.5896
                      197.1589
                      195.7474
                      194.3550
                      192.9812
                      191.6260
                      190.2890
                      188.9701
                      166.1107
                      167.1177
                      168.1385
                      169.1732
                      170.2220
                      171.2852
                      172.3628
                      173.4552
                      174.5624
                      175.6848
                      133.6504
                      134.2144
                      134.7862
                      135.3658
                      135.9533
                      136.5488
                      137.1524
                      137.7643
                      138.3845
                      139.0132];

        
        
  
    elseif HXindex == 3
        
                x0 = [215.1294
                      210.5147
                      206.1425
                      202.0001
                      198.0753
                      194.3568
                      190.8336
                      187.4956
                      184.3330
                      181.3365
                      163.6465
                      165.6618
                      167.7889
                      170.0340
                      172.4036
                      174.9046
                      177.5443
                      180.3305
                      183.2711
                      186.3748
                      139.0750
                      139.7276
                      140.4164
                      141.1434
                      141.9107
                      142.7205
                      143.5753
                      144.4775
                      145.4297
                      146.4348];

                  
     elseif HXindex == 4
        
                x0 = [231.2829
                      227.6813
                      224.1915
                      220.8101
                      217.5336
                      214.3589
                      211.2828
                      208.3022
                      205.4141
                      202.6158
                      169.6252
                      171.3663
                      173.1633
                      175.0178
                      176.9318
                      178.9071
                      180.9457
                      183.0496
                      185.2210
                      187.4619
                      146.5318
                      147.5329
                      148.5660
                      149.6323
                      150.7328
                      151.8685
                      153.0406
                      154.2503
                      155.4988
                      156.7872];
                  
                  
    elseif HXindex == 5
        
                x0 = [209.2873
                      208.5518
                      207.7927
                      207.0093
                      206.2009
                      205.3665
                      204.5055
                      203.6169
                      202.6998
                      201.7534
                      172.3595
                      174.2179
                      176.0185
                      177.7633
                      179.4540
                      181.0922
                      182.6796
                      184.2177
                      185.7082
                      187.1524
                      130.3264
                      133.4886
                      136.5528
                      139.5220
                      142.3990
                      145.1868
                      147.8880
                      150.5055
                      153.0418
                      155.4994];

                
    end
    