Changeset 288


Ignore:
Timestamp:
Jun 19, 2007, 6:16:07 PM (16 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Fixed flashPH sample

Location:
trunk/sample
Files:
1 deleted
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/sample/miscellaneous/sample_flashPH.mso

    r287 r288  
    106106        OutletV.z = zero_one*one_zero*ysat + (1-zero_one*one_zero)*Inlet.z;
    107107end
     108
     109FlowSheet FlashPHTest
     110        PARAMETERS
     111        PP      as Plugin(Brief="Physical Properties",
     112                Type="PP",
     113                Components = ["methane", "isobutene", "benzene"],
     114                LiquidModel = "IdealLiquid",
     115                VapourModel = "Ideal"
     116        );
     117        NComp   as Integer;
     118
     119        VARIABLES
     120        Q       as heat_rate (Brief="Heat supplied");
     121       
     122        SET
     123        NComp = PP.NumberOfComponents;
     124       
     125        DEVICES
     126        fl as FlashPHSteady;
     127        s1 as source;
     128       
     129        CONNECTIONS
     130        s1.Outlet to fl.Inlet;
     131        Q to fl.Q;
     132       
     133        SPECIFY
     134        s1.Outlet.F = 496.3 * 'kmol/h';
     135        s1.Outlet.T = 338 * 'K';
     136        s1.Outlet.P = 507.1 * 'kPa';
     137        s1.Outlet.z = [0.1, 0.7,0.2];
     138       
     139        fl.OutletL.P = 2.5 * 'atm';
     140
     141        Q = 0 * 'kJ/h';
     142        #fl.OutletL.T = 315.06 * 'K';
     143       
     144        OPTIONS
     145        Dynamic = false;
     146end
     147
Note: See TracChangeset for help on using the changeset viewer.