Changeset 318 for trunk/sample


Ignore:
Timestamp:
Jul 19, 2007, 1:23:31 AM (16 years ago)
Author:
Argimiro Resende Secchi
Message:

Adjust icones.

Location:
trunk/sample/stage_separators
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sample/stage_separators/sample_batch_dist.mso

    r247 r318  
    4242        DEVICES
    4343        batch   as Diff_Dist;
    44         reflux  as stream;
    45         feed    as stream;
     44        reflux  as liquid_stream;
     45        feed    as source;
     46        Q               as energy_source;
    4647       
    4748        CONNECTIONS
    4849        reflux to batch.InletL;
    49         feed to batch.Inlet;
     50        feed.Outlet to batch.Inlet;
     51        Q.OutletQ to batch.InletQ;
    5052
    5153        EQUATIONS
    5254        if batch.Level > 1E-3 then
    5355                batch.OutletV.F = 150 * 'kmol/h';
    54                 batch.Q = 3.7743e6 * 'kJ/h';
     56                Q.OutletQ.Q = 3.7743e6 * 'kJ/h';
    5557        else
    5658                batch.OutletV.F = 0 * 'kmol/h';
    57                 batch.Q = 0 * 'kJ/h';
     59                Q.OutletQ.Q = 0 * 'kJ/h';
    5860        end
    5961       
     
    6365        reflux.P = 180 * 'kPa';
    6466        reflux.z = [0.5, 0.5];
    65         reflux.v = 0;
    66         reflux.h = 0 * 'kJ/kmol';
    6767       
    68         feed.F = 0 * 'kmol/h';
    69         feed.T = 328 * 'K';
    70         feed.P = 180 * 'kPa';
    71         feed.z = [0.5, 0.5];
    72         feed.v = 0;
    73         feed.h = 0 * 'kJ/kmol';
     68        feed.Outlet.F = 0 * 'kmol/h';
     69        feed.Outlet.T = 328 * 'K';
     70        feed.Outlet.P = 180 * 'kPa';
     71        feed.Outlet.z = [0.5, 0.5];
    7472       
    7573        SET
  • trunk/sample/stage_separators/sample_batch_dist_PID.mso

    r297 r318  
    4545        DEVICES
    4646        batch   as Diff_Dist;
    47         reflux  as stream;
    48         feed    as stream;
     47        reflux  as liquid_stream;
     48        feed    as source;
    4949        pidP    as PID;
     50        Q               as energy_source;
    5051       
    5152        CONNECTIONS
    5253        reflux to batch.InletL;
    53         feed to batch.Inlet;
     54        feed.Outlet to batch.Inlet;
     55        Q.OutletQ to batch.InletQ;
    5456
    5557        EQUATIONS
    5658        if batch.Level > 1E-3 then
    57                 batch.Q = 3.7743e6 * 'kJ/h';
     59                Q.OutletQ.Q = 3.7743e6 * 'kJ/h';
    5860        else
    59                 batch.Q = 0 * 'kJ/h';
     61                Q.OutletQ.Q = 0 * 'kJ/h';
    6062        end
    6163
     
    8385        reflux.P = 180 * 'kPa';
    8486        reflux.z = [0.5, 0.5];
    85         reflux.v = 0;
    86         reflux.h = 0 * 'kJ/kmol';
    8787       
    88         feed.F = 0 * 'kmol/h';
    89         feed.T = 328 * 'K';
    90         feed.P = 180 * 'kPa';
    91         feed.z = [0.5, 0.5];
    92         feed.v = 0;
    93         feed.h = 0 * 'kJ/kmol';
     88        feed.Outlet.F = 0 * 'kmol/h';
     89        feed.Outlet.T = 328 * 'K';
     90        feed.Outlet.P = 180 * 'kPa';
     91        feed.Outlet.z = [0.5, 0.5];
    9492
    9593        P_set = 300 * 'kPa';
Note: See TracChangeset for help on using the changeset viewer.