#*------------------------------------------------------------------- * 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 flashPHSteady and flashPHSteadyA *-------------------------------------------------------------------- * * This sample file needs VRTherm (www.vrtech.com.br) to run. * *---------------------------------------------------------------------- * Author: Rafael de P. Soares and Paula B. Staudt * $Id: sample_flashPH.mso 289 2007-06-20 15:07:08Z rafael $ *--------------------------------------------------------------------*# using "stage_separators/flash"; FlowSheet FlashPHTest PARAMETERS PP as Plugin(Brief="Physical Properties", Type="PP", Components = ["methane", "isobutene", "benzene"], LiquidModel = "IdealLiquid", VapourModel = "Ideal" ); NComp as Integer; SET NComp = PP.NumberOfComponents; DEVICES fl as FlashPHSteady; s1 as source; Q as energy_source (Brief="Heat supplied"); CONNECTIONS s1.Outlet to fl.Inlet; Q.OutletQ to fl.InletQ; SPECIFY s1.Outlet.F = 496.3 * 'kmol/h'; s1.Outlet.T = 338 * 'K'; s1.Outlet.P = 507.1 * 'kPa'; s1.Outlet.z = [0.1, 0.7,0.2]; fl.OutletL.P = 2.5 * 'atm'; Q.OutletQ.Q = 0 * 'kJ/h'; #fl.OutletL.T = 315.06 * 'K'; OPTIONS Dynamic = false; end FlowSheet FlashPHTestA PARAMETERS PP as Plugin(Brief="Physical Properties", Type="PP", Components = ["methane", "isobutene", "benzene"], LiquidModel = "IdealLiquid", VapourModel = "Ideal" ); NComp as Integer; SET NComp = PP.NumberOfComponents; DEVICES fl as FlashPHSteadyA; s1 as source; Q as energy_source (Brief="Heat supplied"); CONNECTIONS s1.Outlet to fl.Inlet; Q.OutletQ to fl.InletQ; SPECIFY s1.Outlet.F = 496.3 * 'kmol/h'; s1.Outlet.T = 338 * 'K'; s1.Outlet.P = 507.1 * 'kPa'; s1.Outlet.z = [0.1, 0.7,0.2]; fl.OutletL.P = 2.5 * 'atm'; Q.OutletQ.Q = 0 * 'kJ/h'; #fl.OutletL.T = 315.06 * 'K'; OPTIONS Dynamic = false; end