#*------------------------------------------------------------------- * 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 reboilers model *-------------------------------------------------------------------- * * This sample file needs VRTherm DEMO (www.vrtech.com.br) to run. * *---------------------------------------------------------------------- * Author: Núbia do Carmo Ferreira * $Id: sample_reboiler.mso 247 2007-04-24 13:44:18Z rafael $ *--------------------------------------------------------------------*# using "costs/reboiler_cost"; FlowSheet sample_reboiler_cost PARAMETERS PP as Plugin(Brief="Physical Properties", Type="PP", Components = [ "isobutane", "benzene"], LiquidModel = "PR", VapourModel = "PR" ); NComp as Integer; SET NComp = PP.NumberOfComponents; DEVICES reb as reboiler_cost; feed as stream; bot as source; # coming from bottom of a column Q as energy_source; CONNECTIONS feed to reb.Inlet; bot.Outlet to reb.InletL; Q.OutletQ to reb.InletQ; SPECIFY feed.F = 0 * 'kmol/h'; # no feed feed.T = 328 * 'K'; feed.P = 180 * 'kPa'; feed.z = [0.5, 0.5]; feed.v = 0; feed.h = 0 * 'kJ/kmol'; bot.P = 185 * 'kPa'; bot.T = 327.7 * 'K'; bot.F = 180 * 'kmol/h'; bot.Composition = [0.006061, 0.9939]; reb.OutletL.F = 68.4 * 'kmol/h'; reb.OutletV.F = 111.6 * 'kmol/h'; Q.OutletQ = 3.7743e6 * 'kJ/h'; SET reb.V = 2 * 'm^3'; reb.Across = 1 * 'm^2'; # costs reb.Material = "Stainless steel 316"; reb.Cost(1,:) = [8.202,0.01506,0.06811]; reb.Cost(2,:) = [-0.9003,0.0906,0]; reb.Cost(3,:) = [1.35,0,0]; reb.Cost(4,:) = [-0.7844,0.0830,0]; reb.Cost(5,:) = [0.8955,0.04981,0]; reb.Cost(6,:) = [1.2002,0.07140,0]; reb.Cost(7,:) = [1.4272,0.12088,0]; reb.Cost(8,:) = [0.8608,0.23296,0]; INITIAL reb.OutletL.T = 320 *'K'; reb.Level = 1 * 'm'; reb.OutletL.z(2) = 0.9; OPTIONS TimeEnd = 1000; TimeStep = 20; end