#*------------------------------------------------------------------- * 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 splitter_n *-------------------------------------------------------------------- * * This sample file needs VRTherm DEMO (www.vrtech.com.br) to run. * *---------------------------------------------------------------------- * Author: Maurício Carvalho Maciel * $Id: sample_splitter.mso 80 2006-12-08 19:46:22Z paula $ *--------------------------------------------------------------------*# using "mixers_splitters/splitter"; FlowSheet TestSplitter PARAMETERS PP as CalcObject(Brief="Physical Properties",File="vrpp"); NComp as Integer; NOutlet as Integer; DEVICES stream as stream_therm; splitter as splitter_n; CONNECTIONS stream to splitter.Inlet; SET PP.Components = [ "isobutane", "benzene"]; PP.LiquidModel = "PR"; PP.VapourModel = "PR"; NComp = PP.NumberOfComponents; splitter.NOutlet = 3; SPECIFY stream.F = 153 * "kmol/h"; stream.P = 150 * "kPa"; stream.T = 298.6 * "K"; stream.z = [0.6, 0.4]; stream.v = 0; splitter.frac(1) = 0.4; splitter.frac(2) = 0.1; OPTIONS relativeAccuracy = 1e-7; end