#*------------------------------------------------------------------- * 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 Hidraulic turbine *-------------------------------------------------------------------- * * This sample file needs VRTherm DEMO (www.vrtech.com.br) to run. * *---------------------------------------------------------------------- * Author: Andrey Copat, Estefane S. Horn, Marcos L. Alencastro * $Id: sample_turbine.mso 631 2008-09-23 20:23:00Z bicca $ *--------------------------------------------------------------------*# using "pressure_changers/turbine"; FlowSheet HTurbine_HT1 DEVICES S1 as source; HT1 as Hidraulic_Turbine; CONNECTIONS S1.Outlet to HT1.Inlet; PARAMETERS PP as Plugin (Brief="External Physical Properties", Type="PP", Components = ["water", "benzene"], LiquidModel = "PR", VapourModel = "PR" ); Mw as positive (Brief = "Molar Mass", Unit = 'kg/kmol'); NComp as Integer (Default= 1); SET NComp = PP.NumberOfComponents(); S1.ValidPhases = "Vapour-Liquid"; S1.CompositionBasis = "Molar"; SPECIFY HT1.Beta = 425e-6 / 'K'; HT1.Meff = 0.95; HT1.Eff = 0.72; S1.F = 1000 * 'kmol/h'; S1.P = 5 * 'atm' ; S1.T = 298 * 'K' ; S1.Composition = [1]; #HT1.Pdrop = 100 * 'kPa'; HT1.Outlet.P = 1 * 'atm'; end