[89] | 1 | #*------------------------------------------------------------------- |
---|
| 2 | * EMSO Model Library (EML) Copyright (C) 2004 - 2007 ALSOC. |
---|
[1] | 3 | * |
---|
[89] | 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. |
---|
[1] | 7 | * |
---|
[89] | 8 | * EMSO Copyright (C) 2004 - 2007 ALSOC, original code |
---|
| 9 | * from http://www.rps.eng.br Copyright (C) 2002-2004. |
---|
| 10 | * All rights reserved. |
---|
[1] | 11 | * |
---|
[89] | 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 Heater and Cooler |
---|
| 17 | *-------------------------------------------------------------------- |
---|
| 18 | * |
---|
| 19 | * This sample file needs VRTherm DEMO (www.vrtech.com.br) to run. |
---|
| 20 | * |
---|
| 21 | *---------------------------------------------------------------------- |
---|
| 22 | * Author: Gerson B. Bicca |
---|
| 23 | * $Id: heater_project.mso 133 2007-01-25 14:15:43Z bicca $ |
---|
[1] | 24 | *--------------------------------------------------------------------*# |
---|
| 25 | |
---|
[89] | 26 | using "heat_exchangers/heater"; |
---|
[1] | 27 | |
---|
| 28 | FlowSheet Heater_Project |
---|
| 29 | |
---|
[133] | 30 | PARAMETERS |
---|
| 31 | |
---|
| 32 | PP as Plugin (File="vrpp"); |
---|
| 33 | NComp as Integer; |
---|
| 34 | |
---|
[1] | 35 | DEVICES |
---|
| 36 | |
---|
| 37 | heater as Heater; |
---|
[133] | 38 | streamcold1 as source; |
---|
[1] | 39 | |
---|
| 40 | |
---|
| 41 | CONNECTIONS |
---|
| 42 | |
---|
[133] | 43 | streamcold1.Outlet to heater.Inlet(1); |
---|
[1] | 44 | |
---|
| 45 | SET |
---|
| 46 | |
---|
[133] | 47 | PP.LiquidModel = "PR"; |
---|
| 48 | PP.VapourModel = "PR"; |
---|
[1] | 49 | |
---|
| 50 | PP.Components = ["water"]; |
---|
| 51 | NComp = PP.NumberOfComponents; |
---|
[45] | 52 | heater.Ninlet = 1; |
---|
[1] | 53 | |
---|
| 54 | SPECIFY |
---|
| 55 | |
---|
[133] | 56 | streamcold1.Outlet.F = 100 * "kmol/h"; |
---|
| 57 | streamcold1.Outlet.P = 1 * "atm"; |
---|
| 58 | streamcold1.Outlet.T = 343 * "K"; |
---|
| 59 | streamcold1.Outlet.z = [1]; |
---|
[1] | 60 | |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | heater.Outlet.T = 363*"K"; |
---|
| 64 | heater.Outlet.P = 1 * "atm"; |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | OPTIONS |
---|
| 68 | |
---|
[133] | 69 | Dynamic = false; |
---|
[1] | 70 | |
---|
| 71 | end |
---|
| 72 | |
---|
| 73 | FlowSheet Cooler_Project |
---|
| 74 | |
---|
[133] | 75 | PARAMETERS |
---|
| 76 | |
---|
| 77 | PP as Plugin(File="vrpp"); |
---|
| 78 | NComp as Integer; |
---|
| 79 | |
---|
[1] | 80 | DEVICES |
---|
| 81 | |
---|
| 82 | cooler as Cooler; |
---|
[133] | 83 | streamcold1 as source; |
---|
[1] | 84 | |
---|
| 85 | |
---|
| 86 | CONNECTIONS |
---|
| 87 | |
---|
[133] | 88 | streamcold1.Outlet to cooler.Inlet(1); |
---|
[1] | 89 | |
---|
| 90 | |
---|
| 91 | SET |
---|
| 92 | |
---|
| 93 | PP.LiquidModel = "RK"; |
---|
| 94 | PP.VapourModel = "RK"; |
---|
| 95 | PP.Components = ["water"]; |
---|
| 96 | NComp = PP.NumberOfComponents; |
---|
[45] | 97 | cooler.Ninlet = 1; |
---|
[1] | 98 | |
---|
| 99 | SPECIFY |
---|
| 100 | |
---|
[133] | 101 | streamcold1.Outlet.F = 100 * "kmol/h"; |
---|
| 102 | streamcold1.Outlet.P = 1 * "atm"; |
---|
| 103 | streamcold1.Outlet.T = 343 * "K"; |
---|
| 104 | streamcold1.Outlet.z = [1]; |
---|
[1] | 105 | |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | cooler.Outlet.T = 300*"K"; |
---|
| 109 | cooler.Outlet.P = 1 * "atm"; |
---|
| 110 | |
---|
| 111 | |
---|
| 112 | OPTIONS |
---|
| 113 | |
---|
[133] | 114 | Dynamic = false; |
---|
[1] | 115 | |
---|
| 116 | |
---|
| 117 | end |
---|
| 118 | |
---|