[89] | 1 | #*------------------------------------------------------------------- |
---|
| 2 | * EMSO Model Library (EML) Copyright (C) 2004 - 2007 ALSOC. |
---|
| 3 | * |
---|
| 4 | * This LIBRARY is free software; you can distribute it and/or modify |
---|
| 5 | * it under the therms of the ALSOC FREE LICENSE as available at |
---|
| 6 | * http://www.enq.ufrgs.br/alsoc. |
---|
| 7 | * |
---|
| 8 | * EMSO Copyright (C) 2004 - 2007 ALSOC, original code |
---|
| 9 | * from http://www.rps.eng.br Copyright (C) 2002-2004. |
---|
| 10 | * All rights reserved. |
---|
| 11 | * |
---|
| 12 | * EMSO is distributed under the therms of the ALSOC LICENSE as |
---|
| 13 | * available at http://www.enq.ufrgs.br/alsoc. |
---|
| 14 | * |
---|
| 15 | *-------------------------------------------------------------------- |
---|
| 16 | * Sample file for model E_Shell_NTU |
---|
| 17 | *-------------------------------------------------------------------- |
---|
| 18 | * |
---|
| 19 | * This sample file needs VRTherm (www.vrtech.com.br) to run. |
---|
| 20 | * |
---|
| 21 | *---------------------------------------------------------------------- |
---|
| 22 | * Author: Gerson B. Bicca |
---|
| 23 | * $Id: sampleEshell.mso 89 2006-12-11 15:26:11Z paula $ |
---|
| 24 | *--------------------------------------------------------------------*# |
---|
| 25 | using "heat_exchangers/HeatExchangerSimplified.mso"; |
---|
| 26 | |
---|
| 27 | FlowSheet NTU_Method |
---|
| 28 | |
---|
| 29 | PARAMETERS |
---|
| 30 | |
---|
| 31 | PP as CalcObject (Brief="Physical Properties",File="vrpp"); |
---|
| 32 | NComp as Integer; |
---|
| 33 | |
---|
| 34 | SET |
---|
| 35 | |
---|
| 36 | PP.LiquidModel = "PR"; |
---|
| 37 | PP.VapourModel = "PR"; |
---|
| 38 | PP.Components = ["water","n-butane", "benzene", "n-octane" ]; |
---|
| 39 | NComp = PP.NumberOfComponents; |
---|
| 40 | |
---|
| 41 | DEVICES |
---|
| 42 | exchanger as E_Shell_NTU; |
---|
| 43 | streamhot as streamTP; |
---|
| 44 | streamcold as streamTP; |
---|
| 45 | |
---|
| 46 | CONNECTIONS |
---|
| 47 | |
---|
| 48 | streamhot to exchanger.Inlet.Hot; |
---|
| 49 | streamcold to exchanger.Inlet.Cold; |
---|
| 50 | |
---|
| 51 | SPECIFY |
---|
| 52 | |
---|
| 53 | exchanger.Details.U = 210*"W/(m^2*K)"; |
---|
| 54 | exchanger.PressureDrop.Hot.Pdrop = 0.1*"kPa"; |
---|
| 55 | exchanger.PressureDrop.Cold.Pdrop = 0.2*"kPa"; |
---|
| 56 | streamhot.F = 20 * "kmol/h"; |
---|
| 57 | streamhot.T = 450 * "K"; |
---|
| 58 | streamhot.P = 120 * "kPa"; |
---|
| 59 | streamhot.z = [1,0,0,0]; |
---|
| 60 | streamcold.F = 10 * "kmol/h"; |
---|
| 61 | streamcold.P = 120 * "kPa"; |
---|
| 62 | streamcold.T = 300 * "K"; |
---|
| 63 | streamcold.z = [0,0.5, 0.1, 0.4]; |
---|
| 64 | exchanger.Outlet.Cold.T = 347*"K"; |
---|
| 65 | |
---|
| 66 | OPTIONS |
---|
| 67 | mode = "steady"; |
---|
| 68 | end |
---|