[100] | 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 a Heat Exchanger - NTU Method |
---|
| 17 | *-------------------------------------------------------------------- |
---|
| 18 | * |
---|
| 19 | * This sample file needs VRTherm (www.vrtech.com.br) to run. |
---|
| 20 | * |
---|
| 21 | *---------------------------------------------------------------------- |
---|
| 22 | * Author: Gerson B. Bicca |
---|
| 23 | * $Id: sampleNTU.mso 100 2007-01-09 14:15:56Z bicca $ |
---|
| 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 | DEVICES |
---|
| 35 | |
---|
| 36 | exchanger as HeatExchanger_NTU; |
---|
| 37 | streamhot as streamTP; |
---|
| 38 | streamcold as streamTP; |
---|
| 39 | |
---|
| 40 | SET |
---|
| 41 | |
---|
| 42 | PP.LiquidModel = "PR"; |
---|
| 43 | PP.VapourModel = "PR"; |
---|
| 44 | PP.Components = ["water","n-butane", "benzene", "n-octane" ]; |
---|
| 45 | NComp = PP.NumberOfComponents; |
---|
| 46 | |
---|
| 47 | exchanger.HE.FlowDirection = "Cocurrent"; |
---|
| 48 | |
---|
| 49 | CONNECTIONS |
---|
| 50 | |
---|
| 51 | streamhot to exchanger.Inlet.Hot; |
---|
| 52 | streamcold to exchanger.Inlet.Cold; |
---|
| 53 | |
---|
| 54 | SPECIFY |
---|
| 55 | |
---|
| 56 | exchanger.Details.Ud = 210*"W/(m^2*K)"; |
---|
| 57 | exchanger.Details.Uc = 210*"W/(m^2*K)"; |
---|
| 58 | exchanger.PressureDrop.Hot.Pdrop = 0.2*"kPa"; |
---|
| 59 | exchanger.PressureDrop.Cold.Pdrop = 0.2*"kPa"; |
---|
| 60 | |
---|
| 61 | streamhot.F = 20 * "kmol/h"; |
---|
| 62 | streamhot.T = 450 * "K"; |
---|
| 63 | streamhot.P = 120 * "kPa"; |
---|
| 64 | streamhot.z = [1,0,0,0]; |
---|
| 65 | |
---|
| 66 | streamcold.F = 10 * "kmol/h"; |
---|
| 67 | streamcold.P = 120 * "kPa"; |
---|
| 68 | streamcold.T = 300 * "K"; |
---|
| 69 | streamcold.z = [0,0.5, 0.1, 0.4]; |
---|
| 70 | |
---|
| 71 | exchanger.Details.A = 20*"m^2"; |
---|
| 72 | |
---|
| 73 | OPTIONS |
---|
| 74 | |
---|
| 75 | mode = "steady"; |
---|
| 76 | |
---|
| 77 | end |
---|