#*--------------------------------------------------------------------- * 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 of an yield reactor *---------------------------------------------------------------------- * * This sample file needs VRTherm (www.vrtech.com.br) to run. * *---------------------------------------------------------------------- * * There are three parallel reactions involved: * (1) C4H6(1,3-butadiene) + H2 --> C4H8(1-butene) * (2) C4H6(1,3-butadiene) + H2 --> C4H8(cis-2-butene) * (3) C4H6(1,3-butadiene) + H2 --> C4H8(trans-2-butene) * *---------------------------------------------------------------------- * Author: Rodolfo Rodrigues * $Id$ *--------------------------------------------------------------------*# using "reactors/yield"; FlowSheet sample_yield PARAMETERS PP as Plugin(Brief="Physical properties", Type="PP", Components = ["1,3-butadiene","hydrogen","1-butene", "cis-2-butene","trans-2-butene"], LiquidModel = "PR", VapourModel = "PR" ); NComp as Integer; DEVICES Fin as source; R as yield_vap; CONNECTIONS Fin.Outlet to R.Inlet; SET NComp = PP.NumberOfComponents; R.NReac = 3; R.KComp = 2; SPECIFY Fin.Outlet.F = 1000*'kmol/h'; Fin.Outlet.z = [0.25, 0.69, 0.03, 0.02, 0.01]; Fin.Outlet.P = 10*'kgf/cm^2'; Fin.Outlet.T = 500*'K'; R.Outlet.F = 300*'kmol/h'*sqrt(R.Tank.Level/'m'); R.Outlet.P = 10*'kgf/cm^2'; R.Outlet.T = Fin.Outlet.T; R.Q = 0*'W'; R.yield = [0.6, 1, 0.4, 0.5, 0.05]; R.Tank.Across = 50000*'cm^2'; R.Tank.L = 10000*'cm'; INITIAL R.Outletm.T = 500*'K'; R.M = [75, 50, 10, 5, 2]*'kmol'; OPTIONS # Dynamic = false; TimeStep = 50; TimeEnd = 600; end