#*------------------------------------------------------------------- * EMSO Model Library (EML) Copyright (C) 2004 - 2007 ALSOC. * * This LIBRARY is free software; you can distribute it and/or modify * it under the therms of the ALSOC FREE LICENSE as available at * http://www.enq.ufrgs.br/alsoc. * * EMSO Copyright (C) 2004 - 2007 ALSOC, original code * from http://www.rps.eng.br Copyright (C) 2002-2004. * All rights reserved. * * EMSO is distributed under the therms of the ALSOC LICENSE as * available at http://www.enq.ufrgs.br/alsoc. * *-------------------------------------------------------------------- * Sample file for model E_Shell_NTU *-------------------------------------------------------------------- * * This sample file needs VRTherm (www.vrtech.com.br) to run. * *---------------------------------------------------------------------- * Author: Gerson B. Bicca * $Id: sampleEshell.mso 100 2007-01-09 14:15:56Z bicca $ *--------------------------------------------------------------------*# using "heat_exchangers/HeatExchangerSimplified.mso"; FlowSheet NTU_Method PARAMETERS PP as CalcObject (Brief="Physical Properties",File="vrpp"); NComp as Integer; SET PP.LiquidModel = "PR"; PP.VapourModel = "PR"; PP.Components = ["water","n-butane", "benzene", "n-octane" ]; NComp = PP.NumberOfComponents; DEVICES exchanger as E_Shell_NTU; streamhot as streamTP; streamcold as streamTP; CONNECTIONS streamhot to exchanger.Inlet.Hot; streamcold to exchanger.Inlet.Cold; SPECIFY exchanger.Details.Ud = 210*"W/(m^2*K)"; exchanger.Details.Uc = 210*"W/(m^2*K)"; exchanger.PressureDrop.Hot.Pdrop = 0.1*"kPa"; exchanger.PressureDrop.Cold.Pdrop = 0.2*"kPa"; streamhot.F = 20 * "kmol/h"; streamhot.T = 450 * "K"; streamhot.P = 120 * "kPa"; streamhot.z = [1,0,0,0]; streamcold.F = 10 * "kmol/h"; streamcold.P = 120 * "kPa"; streamcold.T = 300 * "K"; streamcold.z = [0,0.5, 0.1, 0.4]; exchanger.Outlet.Cold.T = 347*"K"; OPTIONS mode = "steady"; end