#*------------------------------------------------------------------- * 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 cooler and heater operation *-------------------------------------------------------------------- * * This sample file needs VRTherm DEMO (www.vrtech.com.br) to run. * *---------------------------------------------------------------------- * Author: Gerson B. Bicca * $Id: Sample_Heater.mso 89 2006-12-11 15:26:11Z paula $ *--------------------------------------------------------------------*# using "heat_exchangers/heater"; FlowSheet Sample_Heater DEVICES Heater as heater; streamcold as simple_source; Heat as energy_source; CONNECTIONS streamcold.Outlet to Heater.Inlet(1); Heat.OutletQ to Heater.InletQ; PARAMETERS PP as Plugin (Type ="PP", LiquidModel = "PR",VapourModel = "PR", Components = ["isobutane","benzene"]); NComp as Integer; SET NComp = PP.NumberOfComponents; Heater.Ninlet = 1; SPECIFY streamcold.Outlet.F = 10 * 'kmol/h'; streamcold.Outlet.P = 1 * 'atm'; streamcold.Outlet.T = 310 * 'K'; streamcold.Outlet.z = [0.5,0.5]; # Heater.Outlet.T = 360*'K'; Heater.Outlet.P = 0.999* 'atm'; Heat.OutletQ.Q = 51* 'kW'; OPTIONS Dynamic = false; end FlowSheet Sample_Cooler DEVICES Cooler as cooler; streamhot as simple_source; Heat as energy_source; CONNECTIONS streamhot.Outlet to Cooler.Inlet(1); Heat.OutletQ to Cooler.InletQ; PARAMETERS PP as Plugin (Type ="PP", LiquidModel = "PR",VapourModel = "PR", Components = ["isobutane","benzene"]); NComp as Integer; SET NComp = PP.NumberOfComponents; Cooler.Ninlet = 1; SPECIFY streamhot.Outlet.F = 10 * 'kmol/h'; streamhot.Outlet.P = 1 * 'atm'; streamhot.Outlet.T = 310 * 'K'; streamhot.Outlet.z = [0.5,0.5]; # Cooler.Outlet.T = 300*'K'; Cooler.Outlet.P = 0.999* 'atm'; Heat.OutletQ.Q = 10* 'kW'; OPTIONS Dynamic = false; end