[236] | 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 cooler and heater operation |
---|
| 17 | *-------------------------------------------------------------------- |
---|
| 18 | * |
---|
| 19 | * This sample file needs VRTherm DEMO (www.vrtech.com.br) to run. |
---|
| 20 | * |
---|
| 21 | *---------------------------------------------------------------------- |
---|
| 22 | * Author: Gerson B. Bicca |
---|
| 23 | * $Id: Sample_Heater.mso 89 2006-12-11 15:26:11Z paula $ |
---|
| 24 | *--------------------------------------------------------------------*# |
---|
| 25 | |
---|
| 26 | using "heat_exchangers/heater"; |
---|
| 27 | |
---|
| 28 | FlowSheet Sample_Heater |
---|
| 29 | |
---|
| 30 | DEVICES |
---|
| 31 | |
---|
| 32 | Heater as heater; |
---|
| 33 | streamcold1 as source; |
---|
| 34 | streamcold2 as source; |
---|
| 35 | |
---|
| 36 | CONNECTIONS |
---|
| 37 | |
---|
| 38 | streamcold1.Outlet to Heater.Inlet(1); |
---|
| 39 | streamcold2.Outlet to Heater.Inlet(2); |
---|
| 40 | |
---|
| 41 | PARAMETERS |
---|
| 42 | |
---|
| 43 | PP as Plugin (Type ="PP", LiquidModel = "PR",VapourModel = "PR", |
---|
| 44 | Components = ["water","ethanol"]); |
---|
| 45 | NComp as Integer; |
---|
| 46 | |
---|
| 47 | SET |
---|
| 48 | |
---|
| 49 | NComp = PP.NumberOfComponents; |
---|
| 50 | |
---|
| 51 | Heater.Ninlet = 2; |
---|
| 52 | |
---|
| 53 | SPECIFY |
---|
| 54 | |
---|
| 55 | streamcold1.Outlet.F = 100 * 'kmol/h'; |
---|
| 56 | streamcold1.Outlet.P = 1 * 'atm'; |
---|
| 57 | streamcold1.Outlet.T = 300 * 'K'; |
---|
| 58 | streamcold1.Outlet.z = [1,0]; |
---|
| 59 | |
---|
| 60 | streamcold2.Outlet.F = 20*'kmol/h'; |
---|
| 61 | streamcold2.Outlet.P = 1 * 'atm'; |
---|
| 62 | streamcold2.Outlet.T = 300 * 'K'; |
---|
| 63 | streamcold2.Outlet.z = [0,1]; |
---|
| 64 | |
---|
[240] | 65 | Heater.Outlet.T = 310*'K'; |
---|
[236] | 66 | Heater.Outlet.P = 1 * 'atm'; |
---|
| 67 | |
---|
| 68 | OPTIONS |
---|
| 69 | |
---|
| 70 | Dynamic = false; |
---|
| 71 | |
---|
| 72 | end |
---|
| 73 | |
---|