 Timestamp:
 Mar 2, 2007, 10:06:53 AM (16 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

branches/newlanguage/sample/reactors/fogler/chap8/series_reactions.mso
r82 r171 56 56 vo as flow_vol (Brief="Volumetric flow"); 57 57 Cp as cp_mol (Brief="Heat capacity"); 58 UA as Real (Brief="Heat change", Unit= "J/min/K");58 UA as Real (Brief="Heat change", Unit='J/min/K'); 59 59 tau as time_min (Brief="Residence time"); 60 60 … … 62 62 Tr_ko(NReac)as temperature (Brief="Reference temperature for ko"); 63 63 64 ko(NReac) as Real (Brief="Frequency factor", Unit= "1/min");64 ko(NReac) as Real (Brief="Frequency factor", Unit='1/min'); 65 65 E(NReac) as energy_mol (Brief="Activation energy"); 66 R as Real (Brief="Universal gas constant", Unit= "cal/mol/K", Default=1.987);66 R as Real (Brief="Universal gas constant", Unit='cal/mol/K', Default=1.987); 67 67 68 68 VARIABLES … … 73 73 kappa as Real (Brief="Kappa parameter"); 74 74 Tc as temperature (Brief="Temperature of reactor surface"); 75 k(NReac) as Real (Brief="Specific rate of reaction", Unit= "1/min");75 k(NReac) as Real (Brief="Specific rate of reaction", Unit='1/min'); 76 76 Co as conc_mol (Brief="Initial concentration of A"); 77 77 To as temperature (Brief="Initial temperature"); … … 79 79 EQUATIONS 80 80 "Temperature profile" 81 diff(T) = 2* "K/min";81 diff(T) = 2*'K/min'; 82 82 83 83 "Parameter kappa" … … 110 110 NReac = 2; # A>B>C 111 111 112 DH = [5.50e4, 7.15e4]* "J/mol";113 vo = 1000* "m^3/min";112 DH = [5.50e4, 7.15e4]*'J/mol'; 113 vo = 1000*'m^3/min'; 114 114 115 ko = [ 3.30, 4.58]* "1/min";116 E = [9.9e3, 2.7e4]* "cal/mol";117 Tr_ko = [300, 500]* "K";115 ko = [ 3.30, 4.58]*'1/min'; 116 E = [9.9e3, 2.7e4]*'cal/mol'; 117 Tr_ko = [300, 500]*'K'; 118 118 119 Cp = 200* "J/mol/K";120 UA = 4e4* "J/min/K";121 tau = 0.01* "min";122 Ta = 330* "K";119 Cp = 200*'J/mol/K'; 120 UA = 4e4*'J/min/K'; 121 tau = 0.01*'min'; 122 Ta = 330*'K'; 123 123 124 124 SPECIFY 125 125 "Inlet temperature" 126 To = 283* "K";126 To = 283*'K' ; 127 127 "Inlet concentration of A" 128 Co= 0.3* "mol/m^3";128 Co= 0.3*'mol/m^3'; 129 129 130 130 INITIAL 131 131 "Temperature" 132 T = 283* "K";132 T = 283*'K'; 133 133 134 134 OPTIONS 135 time = [0:2:225]*"min"; 135 TimeStep = 2; 136 TimeEnd = 225; 137 TimeUnit ='min'; 136 138 end
Note: See TracChangeset
for help on using the changeset viewer.