#*---------------------------------------------- * FlowSheet generated automaticaly by EMSO-GUI *----------------------------------------------*# using "streams"; using "stage_separators/flash"; FlowSheet sample_flash_steady PARAMETERS PP as Plugin(Brief="Physical Properties", Type="PP", Components = ["n-butane","benzene","n-octane"], LiquidModel = "SRK", VapourModel = "SRK" ); NComp as Integer; SET NComp = PP.NumberOfComponents; DEVICES Heat as energy_source; Feed as simple_source; VaporProduct as sink; LiquidProduct as sink; flash_steady_1 as flash_steady; CONNECTIONS flash_steady_1.OutletVapour to VaporProduct.Inlet; flash_steady_1.OutletLiquid to LiquidProduct.Inlet; Feed.Outlet to flash_steady_1.Inlet; Heat.OutletQ to flash_steady_1.InletQ; SET Feed.ValidPhases = "Vapour-Liquid"; SPECIFY Feed.MolarComposition(1) = 0.3; Feed.MolarComposition(2) = 0.3; Feed.MolarComposition(3) = 0.4; Feed.F = 622.84 * 'kmol/h'; Feed.T_Cdeg = 64.85 * 'K'; Feed.P = 5 * 'atm'; flash_steady_1.OutletLiquid.T = 330 * 'K'; flash_steady_1.OutletLiquid.P = 0.6 * 'atm'; OPTIONS Dynamic = false; end