- Timestamp:
- Feb 20, 2010, 4:16:49 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/sample/miscellaneous/sample_gibbs_reactor_simple.mso
r410 r913 84 84 85 85 # Ethane decomposition to produce ethylene and hydrogen at 1000 degC 86 FlowSheet gibbs_reactor_simple_sample as gibbs_reactor_simple86 FlowSheet gibbs_reactor_simple_sample 87 87 PARAMETERS 88 88 PP as Plugin(Brief="Physical Properties", … … 94 94 NComp as Integer; 95 95 96 SET 97 NComp = PP.NumberOfComponents; 98 nu = [-1, 1, 1]; 99 100 SPECIFY 101 T = (1000 + 273.15) * 'K'; 102 P = 1 * 'atm'; 103 n0 = [1, 0, 0] * 'mol'; 96 DEVICES 97 R as gibbs_reactor_simple; 98 99 SET 100 NComp = PP.NumberOfComponents; 101 R.nu = [-1, 1, 1]; 102 103 SPECIFY 104 R.T = (1000 + 273.15) * 'K'; 105 R.P = 1 * 'atm'; 106 R.n0 = [1, 0, 0] * 'mol'; 104 107 105 108 # Expected results: … … 113 116 114 117 # Ethanol production by ethylene hydratation at 250 degC and 35 bar 115 FlowSheet gibbs_reactor_simple_sample2 as gibbs_reactor_simple118 FlowSheet gibbs_reactor_simple_sample2 116 119 PARAMETERS 117 120 PP as Plugin(Brief="Physical Properties", … … 123 126 NComp as Integer; 124 127 125 SET 126 NComp = PP.NumberOfComponents; 127 nu = [-1, -1, 1]; 128 129 SPECIFY 130 T = (250 + 273.15) * 'K'; 131 P = 35 * 'atm'; 132 n0 = [1, 5, 0] * 'mol'; 128 DEVICES 129 R as gibbs_reactor_simple; 130 131 SET 132 NComp = PP.NumberOfComponents; 133 R.nu = [-1, -1, 1]; 134 135 SPECIFY 136 R.T = (250 + 273.15) * 'K'; 137 R.P = 35 * 'atm'; 138 R.n0 = [1, 5, 0] * 'mol'; 133 139 134 140 # Expected results: … … 140 146 141 147 # Water-gas-shift T = 1100 K, P = 1 bar 142 FlowSheet gibbs_reactor_simple_sample3 as gibbs_reactor_simple148 FlowSheet gibbs_reactor_simple_sample3 143 149 PARAMETERS 144 150 PP as Plugin(Brief="Physical Properties", … … 150 156 NComp as Integer; 151 157 152 SET 153 NComp = PP.NumberOfComponents; 154 nu = [-1, -1, 1, 1]; 155 156 SPECIFY 157 T = 1100 * 'K'; 158 P = 1 * 'bar'; 159 n0 = [1, 1, 0, 0] * 'mol'; 158 DEVICES 159 R as gibbs_reactor_simple; 160 161 SET 162 NComp = PP.NumberOfComponents; 163 R.nu = [-1, -1, 1, 1]; 164 165 SPECIFY 166 R.T = 1100 * 'K'; 167 R.P = 1 * 'bar'; 168 R.n0 = [1, 1, 0, 0] * 'mol'; 160 169 161 170 # Expected results: … … 168 177 169 178 # Water-gas-shift T = 1100 K, P = 10 bar 170 FlowSheet gibbs_reactor_simple_sample4 as gibbs_reactor_simple179 FlowSheet gibbs_reactor_simple_sample4 171 180 PARAMETERS 172 181 PP as Plugin(Brief="Physical Properties", … … 178 187 NComp as Integer; 179 188 180 SET 181 NComp = PP.NumberOfComponents; 182 nu = [-1, -1, 1, 1]; 183 184 SPECIFY 185 T = 1100 * 'K'; 186 P = 1 * 'bar'; 187 n0 = [1, 1, 0, 0] * 'mol'; 189 DEVICES 190 R as gibbs_reactor_simple; 191 192 SET 193 NComp = PP.NumberOfComponents; 194 R.nu = [-1, -1, 1, 1]; 195 196 SPECIFY 197 R.T = 1100 * 'K'; 198 R.P = 1 * 'bar'; 199 R.n0 = [1, 1, 0, 0] * 'mol'; 188 200 189 201 # Expected results: … … 196 208 197 209 # Water-gas-shift T = 1100 K, P = 1 bar excess of water 198 FlowSheet gibbs_reactor_simple_sample5 as gibbs_reactor_simple210 FlowSheet gibbs_reactor_simple_sample5 199 211 PARAMETERS 200 212 PP as Plugin(Brief="Physical Properties", … … 205 217 ); 206 218 NComp as Integer; 207 208 SET 209 NComp = PP.NumberOfComponents; 210 nu = [-1, -1, 1, 1]; 211 212 SPECIFY 213 T = 1100 * 'K'; 214 P = 1 * 'bar'; 215 n0 = [1, 2, 0, 0] * 'mol'; 219 220 DEVICES 221 R as gibbs_reactor_simple; 222 223 SET 224 NComp = PP.NumberOfComponents; 225 R.nu = [-1, -1, 1, 1]; 226 227 SPECIFY 228 R.T = 1100 * 'K'; 229 R.P = 1 * 'bar'; 230 R.n0 = [1, 2, 0, 0] * 'mol'; 216 231 217 232 # Expected results: … … 223 238 224 239 # Ammonia synthesis from nitrogen and hydrogen T = 500 degC, P = 1 bar 225 FlowSheet gibbs_reactor_simple_sample6 as gibbs_reactor_simple240 FlowSheet gibbs_reactor_simple_sample6 226 241 PARAMETERS 227 242 PP as Plugin(Brief="Physical Properties", … … 233 248 NComp as Integer; 234 249 235 SET 236 NComp = PP.NumberOfComponents; 237 nu = [-1, -1, 2]; 238 239 SPECIFY 240 T = (500 + 273.15) * 'K'; 241 P = 1 * 'bar'; 242 n0 = [1, 3, 0] * 'mol'; 250 DEVICES 251 R as gibbs_reactor_simple; 252 253 SET 254 NComp = PP.NumberOfComponents; 255 R.nu = [-1, -1, 2]; 256 257 SPECIFY 258 R.T = (500 + 273.15) * 'K'; 259 R.P = 1 * 'bar'; 260 R.n0 = [1, 3, 0] * 'mol'; 243 261 244 262 # Expected results: … … 250 268 251 269 # Ammonia synthesis from nitrogen and hydrogen T = 500 degC, P = 300 bar 252 FlowSheet gibbs_reactor_simple_sample7 as gibbs_reactor_simple270 FlowSheet gibbs_reactor_simple_sample7 253 271 PARAMETERS 254 272 PP as Plugin(Brief="Physical Properties", … … 260 278 NComp as Integer; 261 279 262 SET 263 NComp = PP.NumberOfComponents; 264 nu = [-1, -3, 2]; 265 266 SPECIFY 267 T = (500 + 273.15) * 'K'; 268 P = 300 * 'bar'; 269 n0 = [1, 3, 0] * 'mol'; 280 DEVICES 281 R as gibbs_reactor_simple; 282 283 SET 284 NComp = PP.NumberOfComponents; 285 R.nu = [-1, -3, 2]; 286 287 SPECIFY 288 R.T = (500 + 273.15) * 'K'; 289 R.P = 300 * 'bar'; 290 R.n0 = [1, 3, 0] * 'mol'; 270 291 271 292 # Expected results:
Note: See TracChangeset
for help on using the changeset viewer.