#*------------------------------------------------------------------- * 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 centrifugal_compressor *-------------------------------------------------------------------- * * This sample file needs VRTherm (www.vrtech.com.br) to run. * *---------------------------------------------------------------------- * Author: Marcos L. Alencastro, Estefane da S. Horn * $Id: sample_compressor.mso 81 2006-12-08 19:57:14Z paula $ *--------------------------------------------------------------------*# using "pressure_changers/compressor"; FlowSheet compressor_C1 DEVICES S1 as streamTP; C1 as centrifugal_compressor; CONNECTIONS S1 to C1.Inlet; PARAMETERS PP as CalcObject (Brief="External Physical Properties", File="vrpp"); NComp as Integer (Default= 1); SET PP.Components = ["nitrogen", "oxygen"]; PP.LiquidModel = "IdealLiquid"; PP.VapourModel = "Ideal"; NComp = PP.NumberOfComponents; C1.Effs = 0.75; PP.Derivatives = 0; SPECIFY S1.F = 41.05 * "kmol/h"; S1.P = 1 * "atm"; S1.T = 298 * "K" ; S1.z = [0.79,0.21]; C1.Outlet.P = 3 * "atm"; end