Changeset 916 for branches


Ignore:
Timestamp:
Feb 24, 2010, 8:15:15 PM (13 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Fixed ammonia sample

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/sample/optimization/ammonia.mso

    r578 r916  
    123123        F101   as flash_steady;
    124124        F102   as flash_steady;
    125         S101   as splitter;
     125        S101   as splitter2;
    126126        M101   as Mixer;
    127127        M102   as Mixer;
     
    141141        M102.Outlet    to   R101.Inlet;
    142142        R101.Outlet    to   F101.Inlet;
    143         F101.OutletL   to   F102.Inlet;
    144         F102.OutletV   to   M101.Inlet2;
    145         F101.OutletV   to   S101.Inlet;
     143        F101.OutletLiquid   to   F102.Inlet;
     144        F102.OutletVapour   to   M101.Inlet2;
     145        F101.OutletVapour   to   S101.Inlet;
    146146        S101.Outlet1   to   C102.Inlet;
    147147        C102.Outlet    to   M102.Inlet2;
     
    165165        R101.X = 0.4; # Convertion of the reactor
    166166       
    167         F101.OutletV.P = 199 * 'atm';
    168         F101.OutletV.T = (-34 + 273.15) * 'K';
     167        F101.OutletVapour.P = 199 * 'atm';
     168        F101.OutletVapour.T = (-34 + 273.15) * 'K';
    169169       
    170         F102.OutletV.P = 10 * 'atm';
     170        F102.OutletVapour.P = 10 * 'atm';
    171171        F102.InletQ = 0 * 'kJ/h';
    172172       
    173173        # We can choose between one of the following specs
    174         S101.frac = 0.78; # Recycle fraction
     174        S101.FlowRatios(1) = 0.78; # Recycle fraction
    175175        #loose = 1 * 'lbmol/h'; # Ammonia in the purge
    176176       
    177177        EQUATIONS
    178         production = purity * F102.OutletL.F;
    179         purity = F102.OutletL.z(5);
     178        production = purity * F102.OutletLiquid.F;
     179        purity = F102.OutletLiquid.z(5);
    180180        loose  = S101.Outlet2.F * S101.Outlet2.z(5);
    181181       
Note: See TracChangeset for help on using the changeset viewer.