using "heat_exchangers/HeatExchangerSimplified"; FlowSheet HeatExchanger_Block DEVICES #=============================================================== # Heat Exchanger Shortcut Block - NTU Method #=============================================================== exchanger as HeatExchanger_NTU; streamhot as stream_therm; streamcold as stream_therm; CONNECTIONS streamhot to exchanger.Inlet.Hot; streamcold to exchanger.Inlet.Cold; PARAMETERS PP as CalcObject (File="vrpp"); NComp as Integer; SET PP.LiquidModel = "PR"; PP.VapourModel = "PR"; PP.Components = ["water"]; NComp = PP.NumberOfComponents; exchanger.HE.FlowDirection = "Counter"; SPECIFY #============================================ # Hot Streams #============================================ streamhot.F = 100 * "kmol/h"; streamhot.T = 450 * "K"; streamhot.v = 1; streamhot.P = 1.5 * "atm"; streamhot.z = [1]; #============================================ # Cold Streams #============================================ streamcold.F = 50 * "kmol/h"; streamcold.P = 1 * "atm"; streamcold.T = 350 * "K"; streamcold.v = 0; streamcold.z = [1]; #============================================ # Required Details #============================================ exchanger.Details.A = 65 *"m^2"; exchanger.Details.U = 0.74 *"W/m^2/K"; exchanger.PressureDrop.Hot.Pdrop = 0*"atm"; exchanger.PressureDrop.Cold.Pdrop = 0*"atm"; OPTIONS #============================================ # Simulation Options #============================================ mode = "steady"; end