Ignore:
Timestamp:
Jan 30, 2007, 4:01:53 PM (17 years ago)
Author:
gerson bicca
Message:

testing some modifications for the new language

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/sample/heat_exchangers/Sample_Simplified.mso

    r100 r144  
    8282
    8383        exchanger       as HeatExchanger_NTU;
    84         streamhot       as stream_therm;
    85         streamcold      as stream_therm;
     84        streamhot       as source;
     85        streamcold      as source;
    8686
    8787CONNECTIONS
    8888
    89         streamhot       to exchanger.Inlet.Hot;
    90         streamcold      to exchanger.Inlet.Cold;
     89        streamhot.Outlet        to exchanger.Inlet.Hot;
     90        streamcold.Outlet       to exchanger.Inlet.Cold;
    9191       
    9292PARAMETERS
    93         PP                      as CalcObject   (File="vrpp");
     93        PP                      as Plugin       (File="vrpp");
    9494        NComp           as Integer;
    9595SET
     
    100100        NComp                           = PP.NumberOfComponents;
    101101       
    102         exchanger.HE.FlowDirection      = "Cocurrent";
     102        exchanger.FlowDirection      = "cocurrent";
    103103#       exchanger.HE.FlowDirection      = "Counter";
    104104
     
    111111        exchanger.PressureDrop.Cold.Pdrop   = 0*"atm";
    112112       
    113         streamhot.F                                     = 1000    * "kmol/h";
    114         streamhot.T                                     = 450     * "K";
    115         streamhot.v                                     = 1;
    116         streamhot.P                                     = 1.5     * "atm";
    117         streamhot.z                                     = [1];
     113        streamhot.Outlet .F                                     = 1000    * "kmol/h";
     114        streamhot.Outlet .T                                     = 450     * "K";
     115#streamhot.v                                    = 1;
     116        streamhot.Outlet .P                                     = 1.5     * "atm";
     117        streamhot.Outlet .z                                     = [1];
    118118
    119         streamcold.F                                    = 500   * "kmol/h";
    120         streamcold.P                                    = 1     * "atm";
    121         streamcold.T                                    = 350   * "K";
    122         streamcold.v                                    = 0;
    123     streamcold.z                                        = [1];
     119        streamcold.Outlet .F                                    = 500   * "kmol/h";
     120        streamcold.Outlet .P                                    = 1     * "atm";
     121        streamcold.Outlet .T                                    = 350   * "K";
     122#streamcold.v                                   = 0;
     123    streamcold.Outlet .z                                        = [1];
    124124       
    125125OPTIONS
    126  mode  = "steady";
     126Dynamic= false;
    127127end
    128128
Note: See TracChangeset for help on using the changeset viewer.