#*------------------------------------------------------------------- * 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 tray *-------------------------------------------------------------------- * * This sample file needs VRTherm DEMO (www.vrtech.com.br) to run. * *---------------------------------------------------------------------- * Author: Paula B. Staudt * $Id: sample_tray.mso 247 2007-04-24 13:44:18Z rafael $ *--------------------------------------------------------------------*# using "stage_separators/tray"; FlowSheet tray_Test PARAMETERS PP as Plugin(Brief="Physical Properties", Type="PP", Components = [ "n-pentane", "benzene"], LiquidModel = "PR", VapourModel = "PR" ); NComp as Integer; SET NComp = PP.NumberOfComponents; DEVICES t1 as tray; feed as source; inL as liquid_stream; inV as vapour_stream; CONNECTIONS feed.Outlet to t1.Inlet; inL to t1.InletL; inV to t1.InletV; SPECIFY feed.Outlet.F = 113.4 * 'kmol/h'; feed.Outlet.T = 291 * 'K'; feed.Outlet.P = 1.66 * 'atm'; feed.Outlet.z = [0.5, 0.5]; inL.P = 165 * 'kPa'; inL.T = 310 * 'K'; inL.F = 61.99 * 'kmol/h'; inL.z = [0.1641, 0.8359]; inV.F = 147.1 * 'kmol/h'; inV.P = 150 * 'kPa'; inV.T = 321 * 'K'; inV.z = [0.0584, 0.9416]; t1.Emv = 1; t1.OutletV.F = 147.1 * 'kmol/h'; SET t1.V = 4 * 'ft^3'; t1.Ah = 0.394 * 'ft^2'; t1.lw = 20.94 * 'in'; t1.hw = 0.125 * 'ft'; t1.Q = 0 * 'kW'; t1.beta = 0.6; t1.alfa = 4; t1.Ap = 3.94 * 'ft^2'; INITIAL t1.OutletL.T = 290 *'K'; t1.Level = 0.9 * t1.hw; t1.OutletL.z(1) = 0.5; OPTIONS TimeEnd = 100; end