[992] | 1 | #*---------------------------------------------- |
---|
| 2 | * FlowSheet generated automaticaly by EMSO-GUI |
---|
| 3 | *----------------------------------------------*# |
---|
| 4 | |
---|
| 5 | using "heat_exchangers/HeatExchangerDetailed"; |
---|
| 6 | |
---|
| 7 | FlowSheet Sample_STHE |
---|
| 8 | PARAMETERS |
---|
| 9 | PP as Plugin(Brief="Physical Properties", |
---|
| 10 | Type="PP", |
---|
| 11 | Components = ["benzene","toluene"], |
---|
| 12 | LiquidModel = "PR", |
---|
| 13 | VapourModel = "PR" |
---|
| 14 | ); |
---|
| 15 | NComp as Integer; |
---|
| 16 | SET |
---|
| 17 | NComp = PP.NumberOfComponents; |
---|
| 18 | |
---|
| 19 | DEVICES |
---|
| 20 | Sthe as ShellandTubes_NTU; |
---|
| 21 | |
---|
| 22 | SET |
---|
| 23 | Sthe.ShellType = "Eshell"; |
---|
| 24 | Sthe.Pattern = "Triangle"; |
---|
| 25 | Sthe.LaminarCorrelation = "Schlunder"; |
---|
| 26 | Sthe.TransitionCorrelation = "Gnielinski"; |
---|
| 27 | Sthe.TurbulentCorrelation = "SiederTate"; |
---|
| 28 | Sthe.Tubes.NumberOfTubes = 500; |
---|
| 29 | Sthe.Tubes.Tubepasses = 2; |
---|
| 30 | Sthe.Tubes.TubeLength = 5.5 * 'm'; |
---|
| 31 | Sthe.Tubes.TubePitch = 0.0254 * 'm'; |
---|
| 32 | Sthe.Tubes.Kwall = 0.057 * 'kW/m/K'; |
---|
| 33 | Sthe.Tubes.TubeOD = 0.01587 * 'm'; |
---|
| 34 | Sthe.Tubes.TubeID = 0.013395 * 'm'; |
---|
| 35 | Sthe.Tubes.Fouling = 0 * 'm^2*K/kW'; |
---|
| 36 | Sthe.Tubes.InletNozzleID = 203 * 'mm'; |
---|
| 37 | Sthe.Tubes.OutletNozzleID = 203 * 'mm'; |
---|
| 38 | Sthe.Shell.ShellID = 0.75 * 'm'; |
---|
| 39 | Sthe.Shell.Fouling = 0 * 'm^2*K/kW'; |
---|
| 40 | Sthe.Shell.InletNozzleID = 193 * 'mm'; |
---|
| 41 | Sthe.Shell.OutletNozzleID = 193 * 'mm'; |
---|
| 42 | Sthe.Baffles.BaffleCut = 25; |
---|
| 43 | Sthe.Baffles.NumberOfBaffles = 6; |
---|
| 44 | Sthe.Clearances.SealStrip = 1; |
---|
| 45 | Sthe.Clearances.Hinozzle_Shell = 0.02155 * 'm'; |
---|
| 46 | Sthe.Clearances.Honozzle_Shell = 0.0225 * 'm'; |
---|
| 47 | Sthe.Clearances.BundleToShell = 0.043 * 'm'; |
---|
| 48 | Sthe.Clearances.BaffleToShell = 0.00039 * 'm'; |
---|
| 49 | Sthe.Clearances.TubeToBaffle = 0.0047 * 'm'; |
---|
| 50 | |
---|
| 51 | SPECIFY |
---|
| 52 | Sthe.Baffles.Inlet_Spacing = 870 * 'mm'; |
---|
| 53 | Sthe.Baffles.Central_Spacing = 622 * 'mm'; |
---|
| 54 | |
---|
| 55 | INITIAL |
---|
| 56 | |
---|
| 57 | GUESS |
---|
| 58 | |
---|
| 59 | DEVICES |
---|
| 60 | Hot_in as simple_source; |
---|
| 61 | |
---|
| 62 | SET |
---|
| 63 | |
---|
| 64 | SPECIFY |
---|
| 65 | Hot_in.MolarComposition(1) = 1; |
---|
| 66 | Hot_in.MolarComposition(2) = 0; |
---|
| 67 | Hot_in.F = 40 * 'mol/h'; |
---|
| 68 | Hot_in.T = 393 * 'K'; |
---|
| 69 | Hot_in.P = 740 * 'kPa'; |
---|
| 70 | |
---|
| 71 | INITIAL |
---|
| 72 | |
---|
| 73 | GUESS |
---|
| 74 | |
---|
| 75 | DEVICES |
---|
| 76 | Cold_in as simple_source; |
---|
| 77 | |
---|
| 78 | SET |
---|
| 79 | |
---|
| 80 | SPECIFY |
---|
| 81 | Cold_in.MolarComposition(1) = 0; |
---|
| 82 | Cold_in.MolarComposition(2) = 1; |
---|
| 83 | Cold_in.F = 122 * 'mol/h'; |
---|
| 84 | Cold_in.T = 333.15 * 'K'; |
---|
| 85 | Cold_in.P = 2210 * 'kPa'; |
---|
| 86 | |
---|
| 87 | INITIAL |
---|
| 88 | |
---|
| 89 | GUESS |
---|
| 90 | |
---|
| 91 | DEVICES |
---|
| 92 | Hot_out as simple_sink; |
---|
| 93 | |
---|
| 94 | SET |
---|
| 95 | |
---|
| 96 | SPECIFY |
---|
| 97 | |
---|
| 98 | INITIAL |
---|
| 99 | |
---|
| 100 | GUESS |
---|
| 101 | |
---|
| 102 | DEVICES |
---|
| 103 | Cold_out as simple_sink; |
---|
| 104 | |
---|
| 105 | SET |
---|
| 106 | |
---|
| 107 | SPECIFY |
---|
| 108 | |
---|
| 109 | INITIAL |
---|
| 110 | |
---|
| 111 | GUESS |
---|
| 112 | |
---|
| 113 | CONNECTIONS |
---|
| 114 | Hot_in.Outlet to Sthe.InletShell; |
---|
| 115 | Cold_in.Outlet to Sthe.InletTube; |
---|
| 116 | Sthe.OutletShell to Hot_out.Inlet; |
---|
| 117 | Sthe.OutletTube to Cold_out.Inlet; |
---|
| 118 | |
---|
| 119 | OPTIONS |
---|
| 120 | Dynamic = false; |
---|
| 121 | Integration = "original"; |
---|
| 122 | NLASolver( |
---|
| 123 | File = "sundials", |
---|
| 124 | RelativeAccuracy = 1e-3, |
---|
| 125 | AbsoluteAccuracy = 1e-6, |
---|
| 126 | MaxIterations = 100 |
---|
| 127 | ); |
---|
| 128 | DAESolver( |
---|
| 129 | File = "sundials", |
---|
| 130 | RelativeAccuracy = 1e-3, |
---|
| 131 | AbsoluteAccuracy = 1e-6, |
---|
| 132 | EventAccuracy = 1e-2 |
---|
| 133 | ); |
---|
| 134 | end |
---|