[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 a Heat Exchanger - NTU Method |
---|
| 17 | *-------------------------------------------------------------------- |
---|
| 18 | * |
---|
| 19 | * This sample file needs VRTherm DEMO (www.vrtech.com.br) to run. |
---|
| 20 | * |
---|
| 21 | *---------------------------------------------------------------------- |
---|
| 22 | * Author: Gerson B. Bicca |
---|
| 23 | * $Id: samples1.mso 100 2007-01-09 14:15:56Z bicca $ |
---|
| 24 | *--------------------------------------------------------------------*# |
---|
[1] | 25 | using "heat_exchangers/HeatExchangerSimplified"; |
---|
| 26 | |
---|
| 27 | FlowSheet HeatExchanger_Block |
---|
| 28 | |
---|
| 29 | DEVICES |
---|
| 30 | #=============================================================== |
---|
| 31 | # Heat Exchanger Shortcut Block - NTU Method |
---|
| 32 | #=============================================================== |
---|
| 33 | |
---|
| 34 | exchanger as HeatExchanger_NTU; |
---|
| 35 | streamhot as stream_therm; |
---|
| 36 | streamcold as stream_therm; |
---|
| 37 | |
---|
| 38 | CONNECTIONS |
---|
| 39 | |
---|
| 40 | streamhot to exchanger.Inlet.Hot; |
---|
| 41 | streamcold to exchanger.Inlet.Cold; |
---|
| 42 | |
---|
| 43 | PARAMETERS |
---|
| 44 | |
---|
[45] | 45 | PP as CalcObject (File="vrpp"); |
---|
[1] | 46 | NComp as Integer; |
---|
| 47 | |
---|
| 48 | SET |
---|
| 49 | |
---|
[68] | 50 | PP.LiquidModel = "PR"; |
---|
| 51 | PP.VapourModel = "PR"; |
---|
[1] | 52 | PP.Components = ["water"]; |
---|
| 53 | NComp = PP.NumberOfComponents; |
---|
[45] | 54 | exchanger.HE.FlowDirection = "Counter"; |
---|
[1] | 55 | |
---|
| 56 | SPECIFY |
---|
| 57 | #============================================ |
---|
| 58 | # Hot Streams |
---|
| 59 | #============================================ |
---|
| 60 | streamhot.F = 100 * "kmol/h"; |
---|
| 61 | streamhot.T = 450 * "K"; |
---|
| 62 | streamhot.v = 1; |
---|
| 63 | streamhot.P = 1.5 * "atm"; |
---|
| 64 | streamhot.z = [1]; |
---|
| 65 | |
---|
| 66 | #============================================ |
---|
| 67 | # Cold Streams |
---|
| 68 | #============================================ |
---|
| 69 | streamcold.F = 50 * "kmol/h"; |
---|
| 70 | streamcold.P = 1 * "atm"; |
---|
| 71 | streamcold.T = 350 * "K"; |
---|
| 72 | streamcold.v = 0; |
---|
| 73 | streamcold.z = [1]; |
---|
| 74 | |
---|
| 75 | #============================================ |
---|
| 76 | # Required Details |
---|
| 77 | #============================================ |
---|
| 78 | exchanger.Details.A = 65 *"m^2"; |
---|
[100] | 79 | exchanger.Details.Ud = 0.74 *"W/m^2/K"; |
---|
| 80 | exchanger.Details.Uc = 0.74 *"W/m^2/K"; |
---|
[1] | 81 | exchanger.PressureDrop.Hot.Pdrop = 0*"atm"; |
---|
| 82 | exchanger.PressureDrop.Cold.Pdrop = 0*"atm"; |
---|
| 83 | |
---|
| 84 | OPTIONS |
---|
| 85 | #============================================ |
---|
| 86 | # Simulation Options |
---|
| 87 | #============================================ |
---|
| 88 | mode = "steady"; |
---|
| 89 | |
---|
| 90 | end |
---|