Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • mso/sample/heat_exchangers/sampleNTU.mso

    r45 r68  
    99NComp as Integer;
    1010       
     11DEVICES
    1112
    12        
    13 DEVICES
    1413exchanger       as HeatExchanger_NTU;
    1514streamhot       as streamTP;
     
    2019PP.LiquidModel          = "PR";
    2120PP.VapourModel          = "PR";
    22 PP.Components   = ["water","n-butane", "benzene", "n-octane" ];
    23 NComp                                           = PP.NumberOfComponents;
    24 exchanger.HE.FlowDirection    = "Cocurrent";
     21PP.Components           = ["water","n-butane", "benzene", "n-octane" ];
     22NComp                           = PP.NumberOfComponents;
     23
     24exchanger.HE.FlowDirection = "Cocurrent";
    2525
    2626CONNECTIONS
     
    3232
    3333exchanger.Details.U                             = 210*"W/(m^2*K)";
    34 exchanger.PressureDrop.Hot.Pdrop        = 0.1*"kPa";
     34exchanger.PressureDrop.Hot.Pdrop        = 0.2*"kPa";
    3535exchanger.PressureDrop.Cold.Pdrop   = 0.2*"kPa";
     36
    3637streamhot.F             = 20    * "kmol/h";
    3738streamhot.T             = 450     * "K";
    3839streamhot.P             = 120    * "kPa";
    3940streamhot.z             = [1,0,0,0];
     41
    4042streamcold.F            = 10 * "kmol/h";
    4143streamcold.P            = 120 * "kPa";
    4244streamcold.T            = 300 * "K";   
    4345streamcold.z            = [0,0.5, 0.1, 0.4];
    44 exchanger.Outlet.Cold.T = 340*"K";
    45        
     46
     47exchanger.Details.A = 20*"m^2";
     48
    4649OPTIONS
    47  mode   = "steady";
    48  end
     50
     51 mode = "steady";
     52
     53end
Note: See TracChangeset for help on using the changeset viewer.