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

function [x0] = ssvar(HXindex,N)

    if HXindex == 1
        
                x0 = [198.3549
                      193.7732
                      189.2542
                      184.7968
                      180.4004
                      176.0641
                      171.7870
                      167.5684
                      163.4074
                      159.3032
                      145.4507
                      149.3629
                      153.3294
                      157.3508
                      161.4278
                      165.5614
                      169.7523
                      174.0012
                      178.3089
                      182.6763
                      130.3653
                      134.0685
                      137.8231
                      141.6297
                      145.4890
                      149.4017
                      153.3687
                      157.3906
                      161.4683
                      165.6024];
              
    elseif HXindex == 2
        
                    
                x0 = [234.0031
                      217.7572
                      205.1873
                      195.4616
                      187.9366
                      182.1142
                      177.6093
                      174.1237
                      171.4268
                      169.3401
                      167.5332
                      169.0914
                      171.1054
                      173.7083
                      177.0724
                      181.4204
                      187.0398
                      194.3026
                      203.6894
                      215.8213
                      165.6811
                      166.6977
                      168.0116
                      169.7098
                      171.9046
                      174.7412
                      178.4074
                      183.1458
                      189.2699
                      197.1848];
        
        
        
  
    else HXindex == 3
        
                 
         
                x0 = [235.0515
                      222.8678
                      211.4038
                      200.6169
                      190.4672
                      180.9169
                      171.9308
                      163.4754
                      155.5194
                      148.0334
                      139.6122
                      146.5695
                      153.9637
                      161.8220
                      170.1736
                      179.0494
                      188.4824
                      198.5076
                      209.1621
                      220.4854
                      130.6014
                      136.9932
                      143.7862
                      151.0056
                      158.6782
                      166.8324
                      175.4985
                      184.7086
                      194.4969
                      204.8996];
        
        
        
    end
    