Changeset 219 for branches/newlanguage/template
- Timestamp:
- Mar 16, 2007, 10:01:23 PM (17 years ago)
- Location:
- branches/newlanguage/template
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newlanguage/template/flowsheet.mso
r33 r219 27 27 *# 28 28 PARAMETERS 29 PP as CalcObject(Brief="Physical Properties", File="vrpp"); 29 PP as Plugin(Brief="Physical Properties", 30 Type="PP", 31 Components = ["1,3-butadiene", "isobutene", "n-pentane", "1-pentene"], 32 LiquidModel = "PR", 33 VapourModel = "PR" 34 ); 30 35 NComp as Integer; 31 36 SET 32 PP.Components = ["1,3-butadiene", "isobutene", "n-pentane", "1-pentene"];33 PP.LiquidModel = "PR";34 PP.VapourModel = "PR";35 37 NComp = PP.NumberOfComponents; 36 38 … … 41 43 *# 42 44 DEVICES 43 STR101 as s tream_therm;45 STR101 as source; 44 46 FLASH101 as flash; 47 Q101 as heat_rate; 45 48 46 49 #* … … 49 52 *# 50 53 CONNECTIONS 51 STR101 to FLASH101.Inlet; 54 STR101.Outlet to FLASH101.Inlet; 55 Q101 to FLASH101.Q; 52 56 53 57 #* … … 55 59 *# 56 60 SPECIFY 57 STR101.F = 496.3 * "kmol/h"; 58 STR101.T = 338 * "K"; 59 STR101.P = 507.1 * "kPa"; 60 STR101.v = 0.1380; 61 STR101.z = [0.2379, 0.3082, 0.09959, 0.35431]; 61 STR101.Outlet.F = 496.3 * 'kmol/h'; 62 STR101.Outlet.T = 338 * 'K'; 63 STR101.Outlet.P = 507.1 * 'kPa'; 64 STR101.Outlet.z = [0.2379, 0.3082, 0.09959, 0.35431]; 62 65 63 FLASH101.OutletV.F = 68.5 * "kmol/h";64 FLASH101.OutletL.F = 400*sqrt(FLASH101.Level ) * "kmol/h";65 FLASH101.Q = 1 * "kJ/h";66 FLASH101.OutletV.F = 68.5 * 'kmol/h'; 67 FLASH101.OutletL.F = 400*sqrt(FLASH101.Level/'m') * 'kmol/h'; 68 FLASH101.Q = 1 * 'kJ/h'; 66 69 67 70 #* … … 70 73 *# 71 74 SET 72 FLASH101.V = 2000 * "m^3";73 FLASH101.Across = 1 * "m^2";75 FLASH101.V = 2000 * 'm^3'; 76 FLASH101.Across = 1 * 'm^2'; 74 77 75 78 #* … … 78 81 *# 79 82 INITIAL 80 FLASH101.OutletL.T = 330 * "K";81 FLASH101.Level = 1 * "m";83 FLASH101.OutletL.T = 330 *'K'; 84 FLASH101.Level = 1 * 'm'; 82 85 FLASH101.OutletL.z(1) = 0.1; 83 86 FLASH101.OutletL.z(2) = 0.1;
Note: See TracChangeset
for help on using the changeset viewer.