#*------------------------------------------------------------------- * 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 flash and flashSteady *-------------------------------------------------------------------- * * This sample file needs VRTherm (www.vrtech.com.br) to run. * *---------------------------------------------------------------------- * Author: Paula B. Staudt * $Id: sample_stream.mso 247 2007-04-24 13:44:18Z rafael $ *--------------------------------------------------------------------*# using "streams"; # exemplo baseado nos dados do artigo do Gani 1985. FlowSheet stream_test PARAMETERS PP as Plugin(Brief="Physical Properties", Type="PP", Components = ["1,3-butadiene", "isobutene", "n-pentane", "1-pentene", "1-hexene", "benzene"], LiquidModel = "PR", VapourModel = "PR" ); NComp as Integer; SET NComp = PP.NumberOfComponents; DEVICES s1 as source; s2 as sink; CONNECTIONS s1.Outlet to s2.Inlet; SPECIFY s1.Outlet.F = 496.3 * 'kmol/h'; s1.Outlet.T = 338 * 'K'; #s1.Outlet.P = 507.1 * 'kPa'; s1.Outlet.v = 0.12; s1.Outlet.z = [0.2379,0.3082,0.09958,0.1373,0.08872,0.1283]; OPTIONS Dynamic = false; end