% Definition of x vector
%
% 1. Process streams
% Number of process streams: NStr
% Each stream uses NC+3 elements in the x vextor
% 1:NC  : Molar composition
% NC+1  : Molar flow        
% NC+2  : Temparature       
% NC+3  : Pressure          
%
% 2. Reactors
% Number of Reactors: NeRx
% Each reactor uses 2 elements in the x vextor
%
% 3. Heaters
% Number of Heaters: NHtr
% Each heater uses 2 elements in the x vextor
% 1     : Heater duty
%
% 4. Compressors
% Number of Compressors: NCpr
% Each compressor uses 3 elements in the x vextor
% 1     : Compressor work         
% 2     : Compressor efficiency   
% 3     : Compressor isentropic outlet temperature
%
% 5. Heatexchanger
% Number of Heatexchangers: NHex
% Each heater uses 1 elements in the x vextor
% 1     : Duty
%
% 6. Condensers (Partial)
% Number of Partial Condenser: NCon
% Each heater uses 1 elements in the x vextor
% 1     : Duty
%
